A CLI for publishing standard.site documents to ATProto sequoia.pub
standard site lexicon cli publishing

chore: added ability to exit during init flow

+7
+7
packages/cli/src/commands/init.ts
··· 11 description: "Initialize a new publisher configuration", 12 args: {}, 13 handler: async () => { 14 // Check if config already exists 15 const existingConfig = await findConfig(); 16 if (existingConfig) {
··· 11 description: "Initialize a new publisher configuration", 12 args: {}, 13 handler: async () => { 14 + // Handle Ctrl+C to exit immediately instead of cancelling one prompt at a time 15 + const exitHandler = () => { 16 + consola.info("\nCancelled"); 17 + process.exit(0); 18 + }; 19 + process.on("SIGINT", exitHandler); 20 + 21 // Check if config already exists 22 const existingConfig = await findConfig(); 23 if (existingConfig) {