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