@ankhorage/infra 7.1.0 → 7.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +0,0 @@
1
- import { INFRA_COMMAND_CATEGORY } from '../constants.js';
2
- import { INFRA_COMMANDS } from './constants.js';
3
- /*** Render the standalone Infra command surface and environment safety rules. */
4
- export function renderInfraRootHelp(version) {
5
- const commands = INFRA_COMMANDS.map(({ standaloneName, summary }) => ` ${standaloneName.padEnd(8, ' ')} ${summary}`).join('\n');
6
- return [
7
- `@ankhorage/infra v${version}`,
8
- '',
9
- 'Usage:',
10
- ' ankhorage-infra <command> [project] [--environment <environment>]',
11
- ` ankh ${INFRA_COMMAND_CATEGORY} <command> [project] [--environment <environment>]`,
12
- '',
13
- 'Commands:',
14
- commands,
15
- '',
16
- 'Safety:',
17
- ' local is the only implicit environment; destroy always requires --environment and --confirm.',
18
- '',
19
- ].join('\n');
20
- }
21
- //# sourceMappingURL=renderInfraRootHelp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderInfraRootHelp.js","sourceRoot":"","sources":["../../src/cli/renderInfraRootHelp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhD,iFAAiF;AACjF,MAAM,UAAU,mBAAmB,CAAC,OAAe;IACjD,MAAM,QAAQ,GAAG,cAAc,CAAC,GAAG,CACjC,CAAC,EAAE,cAAc,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,KAAK,cAAc,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,CAAC,IAAI,OAAO,EAAE,CACjF,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACb,OAAO;QACL,qBAAqB,OAAO,EAAE;QAC9B,EAAE;QACF,QAAQ;QACR,qEAAqE;QACrE,UAAU,sBAAsB,oDAAoD;QACpF,EAAE;QACF,WAAW;QACX,QAAQ;QACR,EAAE;QACF,SAAS;QACT,gGAAgG;QAChG,EAAE;KACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC","sourcesContent":["import { INFRA_COMMAND_CATEGORY } from '../constants.js';\nimport { INFRA_COMMANDS } from './constants.js';\n\n/*** Render the standalone Infra command surface and environment safety rules. */\nexport function renderInfraRootHelp(version: string): string {\n const commands = INFRA_COMMANDS.map(\n ({ standaloneName, summary }) => ` ${standaloneName.padEnd(8, ' ')} ${summary}`,\n ).join('\\n');\n return [\n `@ankhorage/infra v${version}`,\n '',\n 'Usage:',\n ' ankhorage-infra <command> [project] [--environment <environment>]',\n ` ankh ${INFRA_COMMAND_CATEGORY} <command> [project] [--environment <environment>]`,\n '',\n 'Commands:',\n commands,\n '',\n 'Safety:',\n ' local is the only implicit environment; destroy always requires --environment and --confirm.',\n '',\n ].join('\\n');\n}\n"]}
@@ -1,23 +0,0 @@
1
- import { INFRA_COMMAND_CATEGORY } from '../constants.js';
2
- import { INFRA_COMMANDS } from './constants.js';
3
-
4
- /*** Render the standalone Infra command surface and environment safety rules. */
5
- export function renderInfraRootHelp(version: string): string {
6
- const commands = INFRA_COMMANDS.map(
7
- ({ standaloneName, summary }) => ` ${standaloneName.padEnd(8, ' ')} ${summary}`,
8
- ).join('\n');
9
- return [
10
- `@ankhorage/infra v${version}`,
11
- '',
12
- 'Usage:',
13
- ' ankhorage-infra <command> [project] [--environment <environment>]',
14
- ` ankh ${INFRA_COMMAND_CATEGORY} <command> [project] [--environment <environment>]`,
15
- '',
16
- 'Commands:',
17
- commands,
18
- '',
19
- 'Safety:',
20
- ' local is the only implicit environment; destroy always requires --environment and --confirm.',
21
- '',
22
- ].join('\n');
23
- }