A CLI for publishing standard.site documents to ATProto
sequoia.pub
standard
site
lexicon
cli
publishing
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";
10import { updateCommand } from "./commands/update";
11
12const 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
34Publish evergreen content to the ATmosphere
35
36> https://tangled.org/stevedylan.dev/sequoia
37 `,
38 version: "0.3.0",
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
50run(app, process.argv.slice(2));