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