A CLI for publishing standard.site documents to ATProto sequoia.pub
standard site lexicon cli publishing
at v0.2.0 46 lines 1.1 kB view raw
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 { publishCommand } from "./commands/publish"; 8import { syncCommand } from "./commands/sync"; 9 10const app = subcommands({ 11 name: "sequoia", 12 description: ` 13 14 .*##*###: 15 :**: :**: 16 :#: :#: 17 #= =# 18 #= -# 19 +#- -#+ 20 **: #. .** 21 #= +#-:#. =# 22 :#: .*##. : :*- 23 #= -#+*#- =# 24 **: ##= .** 25 +#= #. -#+ 26 +** #. *#* 27 #. 28 #. 29 #. 30 :**###**: 31 32Publish evergreen content to the ATmosphere 33 34> https://tangled.org/stevedylan.dev/sequoia 35 `, 36 version: "0.2.0", 37 cmds: { 38 auth: authCommand, 39 init: initCommand, 40 inject: injectCommand, 41 publish: publishCommand, 42 sync: syncCommand, 43 }, 44}); 45 46run(app, process.argv.slice(2));