CLI — Code View¶
← Back to Container | ← Back to System
Component Information¶
| Field | Value |
|---|---|
| Component | CLI |
| Container | Application |
| Type | module |
| Description | Archlette CLI - Architecture-as-Code toolkit |
| --- |
Code Structure¶
Class Diagram¶

Code Elements¶
4 code element(s)
#### Functions ##### `usageAndExit()` | Field | Value | | --- | --- | | **Type** | `function` | | **Visibility** | `private` | | **Returns** | `void` || **Location** | `C:/Users/chris/git/archlette/src/cli.ts:62` | **Parameters:** - `msg`:string
---
##### `parseArgs()`
| Field | Value |
| --- | --- |
| **Type** | `function` |
| **Visibility** | `private` |
| **Returns** | `{ stageArg: string; yamlPathArg: string; }` || **Location** | `C:/Users/chris/git/archlette/src/cli.ts:86` |
**Parameters:**
- `argv`: string[]
---
##### `stageListFromArg()`
| Field | Value |
| --- | --- |
| **Type** | `function` |
| **Visibility** | `private` |
| **Returns** | `string[]` || **Location** | `C:/Users/chris/git/archlette/src/cli.ts:121` |
**Parameters:**
- `stageArg`: string
---
##### `run()`
| Field | Value |
| --- | --- |
| **Type** | `function` |
| **Visibility** | `public` |
| **Async** | Yes || **Returns** | `Promisestring[]
---