this repo has no description smallweb.run
smallweb
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

update cli example

pomdtr 16f1c91c 1ab4d3f6

+16 -4
+16 -4
example/cli/main.ts
··· 1 + import { cli } from 'npm:gunshi@0.17.0' 2 + 1 3 export default { 2 - run: () => { 3 - console.log("Hello World"); 4 - }, 5 - }; 4 + async run(args: string[]) { 5 + await cli(args, { 6 + options: { 7 + name: { 8 + type: "string", 9 + default: "world", 10 + } 11 + }, 12 + run: (ctx) => { 13 + console.log(`Hello ${ctx.values.name}!`) 14 + } 15 + }) 16 + } 17 + }