| 1 | #!/usr/bin/env node |
| 2 | |
| 3 | import { run, subcommands } from "cmd-ts"; |
| 4 | import { authCommand } from "./commands/auth"; |
| 5 | import { initCommand } from "./commands/init"; |
| 6 | import { injectCommand } from "./commands/inject"; |
| 7 | import { loginCommand } from "./commands/login"; |
| 8 | import { publishCommand } from "./commands/publish"; |
| 9 | import { syncCommand } from "./commands/sync"; |
| 10 | import { updateCommand } from "./commands/update"; |
| 11 | |
| 12 | const app = subcommands({ |
| 13 | name: "sequoia", |
| 14 | description: ` |
| 15 | |
| 16 | .*##*###: |
| 17 | :**: :**: |
| 18 | :#: :#: |
| 19 | #= =# |
| 20 | #= -# |
| 21 | +#- -#+ |
| 22 | **: #. .** |
| 23 | #= +#-:#. =# |
| 24 | :#: .*##. : :*- |
| 25 | #= -#+*#- =# |
| 26 | **: ##= .** |
| 27 | +#= #. -#+ |
| 28 | +** #. *#* |
| 29 | #. |
| 30 | #. |
| 31 | #. |
| 32 | :**###**: |
| 33 | |
| 34 | Publish evergreen content to the ATmosphere |
| 35 | |
| 36 | > https://tangled.org/stevedylan.dev/sequoia |
| 37 | `, |
| 38 | version: "0.3.1", |
| 39 | cmds: { |
| 40 | auth: authCommand, |
| 41 | init: initCommand, |
| 42 | inject: injectCommand, |
| 43 | login: loginCommand, |
| 44 | publish: publishCommand, |
| 45 | sync: syncCommand, |
| 46 | update: updateCommand, |
| 47 | }, |
| 48 | }); |
| 49 | |
| 50 | run(app, process.argv.slice(2)); |