@aisdlc/cli 1.0.0 → 1.1.1
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.
- package/LICENSE +21 -21
- package/README.md +229 -0
- package/bin/aisdlc.js +2 -2
- package/dist/index.js +27 -19
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Alfonso Troyano Montes
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Alfonso Troyano Montes
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
# @aisdlc/cli
|
|
2
|
+
|
|
3
|
+
Command-line interface for **AI-SDLC**, an AI-native Software Development Lifecycle framework for governed, traceable, and quality-driven AI-assisted software engineering.
|
|
4
|
+
|
|
5
|
+
## What is AI-SDLC?
|
|
6
|
+
|
|
7
|
+
AI-SDLC is a framework for integrating AI into the software development lifecycle while maintaining engineering discipline.
|
|
8
|
+
|
|
9
|
+
It combines AI-assisted development with practices such as:
|
|
10
|
+
|
|
11
|
+
- Requirements and specifications
|
|
12
|
+
- Change management
|
|
13
|
+
- Verification
|
|
14
|
+
- Quality gates
|
|
15
|
+
- Traceability
|
|
16
|
+
- Engineering KPIs
|
|
17
|
+
- Git-based workflows
|
|
18
|
+
- Agent-based engineering
|
|
19
|
+
- MCP integration
|
|
20
|
+
|
|
21
|
+
The CLI provides the main command-line entry point to these capabilities.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
### Global installation
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm install -g @aisdlc/cli
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Then:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
aisdlc --help
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Local installation
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npm install @aisdlc/cli
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Or:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pnpm add @aisdlc/cli
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Quick start
|
|
50
|
+
|
|
51
|
+
After installation, run:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
aisdlc --help
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
The CLI provides commands covering different parts of the AI-SDLC lifecycle.
|
|
58
|
+
|
|
59
|
+
## Commands
|
|
60
|
+
|
|
61
|
+
The `aisdlc` CLI provides comprehensive commands across 6 functional categories of the AI-SDLC lifecycle:
|
|
62
|
+
|
|
63
|
+
### 1. Project Initialization & Workflow Pre-Flight
|
|
64
|
+
|
|
65
|
+
| Command | Description | Key Options |
|
|
66
|
+
| --- | --- | --- |
|
|
67
|
+
| `aisdlc init [directory]` | Bootstraps a repository with AI-SDLC folders, JSON schemas, policy files (`quality-policy.yaml`, `license-policy.yaml`), CI/CD templates, and AI agent rules. | `-d, --dry-run`, `--ci <github\|gitlab\|azure\|bitbucket>`, `--agents <all\|cursor\|claude\|antigravity\|copilot\|mcp>`, `--arch <minimal\|full\|none>`, `--json` |
|
|
68
|
+
| `aisdlc check` | Unified pre-flight gate: runs Quality Gate checks with optional auto-repair (syncs Gherkin to `.feature` and recalculates PDaC SHA-256 digests). | `--fix`, `-r, --root <path>`, `--json`, `-F, --format <format>` |
|
|
69
|
+
| `aisdlc mcp` | Starts the native Model Context Protocol (MCP) server over `stdio` exposing 23 deterministic tools and 5 context resources. | `-r, --root <path>` |
|
|
70
|
+
|
|
71
|
+
### 2. Spec-Driven Development (SDD) & Change Management
|
|
72
|
+
|
|
73
|
+
| Command | Description | Key Options |
|
|
74
|
+
| --- | --- | --- |
|
|
75
|
+
| `aisdlc change new <name>` | Scaffolds a new SDD change package (`proposal.md`, `spec.md`, `design.md`, `tasks.md`) with a canonical `handoff.yaml` sidecar. | `--from <ids...>`, `--id <changeId>`, `-p, --profile <patch\|standard\|critical>`, `-f, --framework <openspec\|speckit>`, `-a, --author <author>`, `--json` |
|
|
76
|
+
| `aisdlc sdd new <name>` | Alias of `aisdlc change new`. | Same options as `change new` |
|
|
77
|
+
| `aisdlc sdd deposit` | Deposits or regenerates the canonical `handoff.yaml` (`HOF-*`) sidecar with cryptographic citations for an active change. | `-c, --change <id>` *(required)*, `-f, --framework <framework>`, `-t, --title <title>`, `--requirements <reqs>`, `--use-cases <ucs>`, `--json` |
|
|
78
|
+
| `aisdlc sdd verify` | Validates structural and cryptographic integrity of `handoff.yaml` sidecars across active changes. | `-f, --framework <framework>`, `-r, --root <path>`, `--json` |
|
|
79
|
+
| `aisdlc sdd integrate` | Promotes completed requirements to `active`, updates architecture component links, marks proposal as `applied`, and archives the change. | `--auto` *(detects change from git context)*, `-c, --change <id>`, `-a, --author <author>`, `--no-archive`, `--json` |
|
|
80
|
+
|
|
81
|
+
### 3. Verification & Quality Gates (`aisdlc verify`)
|
|
82
|
+
|
|
83
|
+
| Command | Description | Key Options |
|
|
84
|
+
| --- | --- | --- |
|
|
85
|
+
| `aisdlc verify [all]` | Executes the consolidated CI/CD suite evaluating all 9 quality and governance gates simultaneously. | `-r, --root <path>`, `-p, --policy <path>`, `-C <max-cc>`, `-K <max-cog>`, `-M <min-mi>`, `-L <max-lines>`, `-m <mode>`, `--json` |
|
|
86
|
+
| `aisdlc verify quality` | AST-based release gate evaluating Cyclomatic Complexity ($\le 10$), Cognitive ($\le 15$), Maintainability ($\ge 50$), and function length ($\le 40$). | `-p, --policy <path>`, `-C, --max-cyclomatic <n>`, `-K, --max-cognitive <n>`, `-M, --min-maintainability <n>`, `-m <STRICT\|PERMISSIVE>`, `--json` |
|
|
87
|
+
| `aisdlc verify traceability` | Audits the 360° Requirements Traceability Matrix (Product HOF $\leftrightarrow$ Architecture CMP $\leftrightarrow$ Tests `.feature`). | `-r, --root <path>`, `--json` |
|
|
88
|
+
| `aisdlc verify governance` | Audits task governance, human review plans, and autonomy modes (`AUTONOMOUS`, `HUMAN_REVIEW_PLAN`, etc.). | `-r, --root <path>`, `--json` |
|
|
89
|
+
| `aisdlc verify testing` | Audits that 100% of requirements and tasks have corresponding verifiable tests on disk. | `-r, --root <path>`, `--json` |
|
|
90
|
+
| `aisdlc verify licenses` | Audits Open Source license compliance against `license-policy.yaml` with dynamic SCA scan, CycloneDX 1.5 SBOM, and legal notices. | `-p, --policy <path>`, `--sbom [path]`, `--notices [path]`, `--tool <native\|trivy\|syft>`, `--depth <direct\|transitive>`, `--json` |
|
|
91
|
+
| `aisdlc verify pdac` | Verifies the Product Definition as Code graph and checks for cryptographic drift against SHA-256 digests. | `-r, --root <path>`, `--json` |
|
|
92
|
+
| `aisdlc verify schemas` | Validates specification Markdown artifacts against canonical JSON Schemas (Draft 2020-12). | `-p, --path <path>`, `-r, --root <path>`, `--json` |
|
|
93
|
+
| `aisdlc verify duplicates` | Detects redundant requirements, ID collisions, title lexical redundancy ($\ge 85\%$), and BDD overlaps before coding. | `-s, --similarity <number>` *(default: 0.85)*, `-r, --root <path>`, `--json` |
|
|
94
|
+
| `aisdlc verify security` | Unified shift-left security gate: deterministic secret scanning (Gitleaks) and SAST (OWASP Top 10 vulnerabilities). | `-d, --diff`, `-b, --base <branch>`, `-g, --gitleaks`, `-s, --semgrep`, `-e, --entropy <n>`, `-m, --min-severity <level>`, `--json` |
|
|
95
|
+
| `aisdlc verify secrets` | Scans for exposed credentials, API keys, tokens, and high-entropy secrets (Shannon entropy $\ge 4.3$). Fails with exit code 4. | `-d, --diff`, `-b, --base <branch>`, `-g, --gitleaks`, `-e, --entropy <n>`, `--json` |
|
|
96
|
+
| `aisdlc verify sast` | Static Application Security Testing for SQL injection, command injection, eval, SSRF, path traversal, and prompt injection. | `-s, --semgrep`, `-m, --min-severity <CRITICAL\|HIGH\|MEDIUM>`, `--json` |
|
|
97
|
+
| `aisdlc verify friction [change]` | Evaluates progressive friction and Anti-Bypass rules (verifies change scope matches risk profile: `patch`, `standard`, `critical`). | `-r, --root <path>`, `--json` |
|
|
98
|
+
|
|
99
|
+
### 4. Git 4-Tier Branch Management (`aisdlc git`)
|
|
100
|
+
|
|
101
|
+
| Command | Description | Key Options |
|
|
102
|
+
| --- | --- | --- |
|
|
103
|
+
| `aisdlc git checkout <task>` | Locates task in active SDD changes and automatically cascade-creates 4-tier branches: `main` $\rightarrow$ `release/*` $\rightarrow$ `feat/*` $\rightarrow$ `task/*`. | `-r, --root <path>` |
|
|
104
|
+
| `aisdlc git plan` | Previews and plans the visual 4-tier Git branch hierarchy tree for a given release, feature, and task list. | `-r, --release <version>`, `-f, --feature <feature>`, `-t, --tasks <tasks>` |
|
|
105
|
+
| `aisdlc git validate <branch>` | Validates strict branch naming conventions according to its Tier (1 to 4). | `<branch>` |
|
|
106
|
+
| `aisdlc git hook install` | Installs the `prepare-commit-msg` Git hook for automated commit trailer injection (`Task-ID`, `Handoff-Digest`, `Model`). | `-r, --root <path>` |
|
|
107
|
+
| `aisdlc git detect-author` | Universally and IDE-independently detects whether the current commit author is a human or an AI agent. | `--json`, `-r, --root <path>` |
|
|
108
|
+
|
|
109
|
+
### 5. Reporting & Engineering KPIs (`aisdlc report` & `aisdlc kpi`)
|
|
110
|
+
|
|
111
|
+
| Command | Description | Key Options |
|
|
112
|
+
| --- | --- | --- |
|
|
113
|
+
| `aisdlc report dashboard` | Generates a 100% offline, self-contained interactive web dashboard and Cytoscape.js PDaC/RTM visualizer at `reports/dashboard.html`. | `-o, --output <path>`, `-t, --title <title>`, `--open` |
|
|
114
|
+
| `aisdlc report quality` | Generates a formal polyglot code quality report in Markdown format at `reports/QUALITY_REPORT.md`. | `-p, --policy <path>`, `-m, --mode <STRICT\|PERMISSIVE>`, `-C, -K, -M, -L` thresholds |
|
|
115
|
+
| `aisdlc kpi pr` | Computes aggregated Pull Request telemetry table (human vs. agent authorship ratio, review time, token usage) for PR templates. | `-b, --base <branch>`, `-h, --head <branch>`, `-u, --update-file <path>`, `--json` |
|
|
116
|
+
| `aisdlc kpi release` | Calculates consolidated Release metrics: Defect Injection Rate (DIR) per model/human, defect density, and rework costs. | `--release <branch>` *(required)*, `-b, --base <branch>`, `-o, --output <dir>`, `--json` |
|
|
117
|
+
|
|
118
|
+
### 6. BDD & Gherkin Requirements Synchronization (`aisdlc gherkin`)
|
|
119
|
+
|
|
120
|
+
| Command | Description | Key Options |
|
|
121
|
+
| --- | --- | --- |
|
|
122
|
+
| `aisdlc gherkin extract` | Extracts ````gherkin```` blocks from Markdown specifications and synchronizes them to `.feature` files under `tests/features/`. | `-p, --path <path>`, `-a, --all`, `--json`, `-F, --format <format>` |
|
|
123
|
+
|
|
124
|
+
### Common Workflow Examples
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
# 1. Initialize a new project with CI/CD and AI agent configurations
|
|
128
|
+
aisdlc init --ci github --agents all --arch minimal
|
|
129
|
+
|
|
130
|
+
# 2. Scaffold a new feature change citing an upstream use case
|
|
131
|
+
aisdlc change new "Real-Time Telemetry" --from UC-STREAM-TELEMETRY
|
|
132
|
+
|
|
133
|
+
# 3. Create and switch to the task branch in 4-tier hierarchy
|
|
134
|
+
aisdlc git checkout TSK-001
|
|
135
|
+
|
|
136
|
+
# 4. Run pre-flight check with auto-fix (syncs Gherkin and digests)
|
|
137
|
+
aisdlc check --fix
|
|
138
|
+
|
|
139
|
+
# 5. Run the consolidated CI/CD verification suite (all 9 gates)
|
|
140
|
+
aisdlc verify all
|
|
141
|
+
|
|
142
|
+
# 6. Generate the interactive web dashboard and open it in the browser
|
|
143
|
+
aisdlc report dashboard --open
|
|
144
|
+
|
|
145
|
+
# 7. Promote and integrate the change into the canonical baseline
|
|
146
|
+
aisdlc sdd integrate --auto
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
For the complete command syntax and full help for any command:
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
aisdlc --help
|
|
153
|
+
aisdlc verify --help
|
|
154
|
+
aisdlc git --help
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
## How it fits together
|
|
158
|
+
|
|
159
|
+
The CLI is the main developer-facing entry point:
|
|
160
|
+
|
|
161
|
+
```text
|
|
162
|
+
Developer
|
|
163
|
+
│
|
|
164
|
+
▼
|
|
165
|
+
aisdlc CLI
|
|
166
|
+
│
|
|
167
|
+
┌──────────┼──────────┐
|
|
168
|
+
│ │ │
|
|
169
|
+
▼ ▼ ▼
|
|
170
|
+
Check Verify Report
|
|
171
|
+
│ │ │
|
|
172
|
+
└──────────┼──────────┘
|
|
173
|
+
│
|
|
174
|
+
▼
|
|
175
|
+
@aisdlc/core
|
|
176
|
+
│
|
|
177
|
+
▼
|
|
178
|
+
AI-SDLC model
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
MCP provides an additional integration path for AI clients:
|
|
182
|
+
|
|
183
|
+
```text
|
|
184
|
+
AI client
|
|
185
|
+
│
|
|
186
|
+
MCP
|
|
187
|
+
│
|
|
188
|
+
▼
|
|
189
|
+
@aisdlc/mcp
|
|
190
|
+
│
|
|
191
|
+
▼
|
|
192
|
+
@aisdlc/core
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
## Why AI-SDLC?
|
|
196
|
+
|
|
197
|
+
AI-assisted development changes how software can be produced.
|
|
198
|
+
|
|
199
|
+
AI-SDLC focuses on the complementary problem:
|
|
200
|
+
|
|
201
|
+
**How do we introduce AI into software engineering without losing control of the engineering process?**
|
|
202
|
+
|
|
203
|
+
The framework approaches this through explicit processes, quality controls, traceability, and machine-assisted verification.
|
|
204
|
+
|
|
205
|
+
## Related packages
|
|
206
|
+
|
|
207
|
+
| Package | Purpose |
|
|
208
|
+
| --- | --- |
|
|
209
|
+
| [`@aisdlc/cli`](https://www.npmjs.com/package/@aisdlc/cli) | Command-line interface |
|
|
210
|
+
| [`@aisdlc/core`](https://www.npmjs.com/package/@aisdlc/core) | Core capabilities |
|
|
211
|
+
| [`@aisdlc/mcp`](https://www.npmjs.com/package/@aisdlc/mcp) | MCP integration |
|
|
212
|
+
|
|
213
|
+
## Project architecture
|
|
214
|
+
|
|
215
|
+
The complete AI-SDLC architecture is maintained in the GitHub repository.
|
|
216
|
+
|
|
217
|
+
**GitHub:** https://github.com/altromon/AI-SDLC
|
|
218
|
+
|
|
219
|
+
The repository contains the complete architecture, governance model, development processes, and documentation.
|
|
220
|
+
|
|
221
|
+
## Contributing
|
|
222
|
+
|
|
223
|
+
Contributions, issues, and architectural discussions are welcome.
|
|
224
|
+
|
|
225
|
+
Please see the GitHub repository for contribution guidelines and development information.
|
|
226
|
+
|
|
227
|
+
## License
|
|
228
|
+
|
|
229
|
+
See the repository license for the current licensing terms.
|
package/bin/aisdlc.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import '../dist/index.js';
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import '../dist/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1151,40 +1151,48 @@ function runGitPlan(options) {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
function runGitCheckout(taskId, options = {}) {
|
|
1153
1153
|
if (!taskId) {
|
|
1154
|
-
|
|
1154
|
+
if (!options.silent) {
|
|
1155
|
+
console.error(pc4.red("\n[ERROR] Task identifier to navigate must be specified (e.g. TSK-001).\n"));
|
|
1156
|
+
}
|
|
1155
1157
|
return false;
|
|
1156
1158
|
}
|
|
1157
1159
|
const rootDir = options.root || process.cwd();
|
|
1158
|
-
|
|
1160
|
+
if (!options.silent) {
|
|
1161
|
+
console.log(pc4.cyan(`
|
|
1159
1162
|
\u{1F680} [AI-SDLC Git] Navigating and preparing branches for task '${pc4.bold(taskId)}'...`));
|
|
1163
|
+
}
|
|
1160
1164
|
const result = checkoutTaskBranch(taskId, { rootDir });
|
|
1161
1165
|
if (!result.success) {
|
|
1162
|
-
|
|
1166
|
+
if (!options.silent) {
|
|
1167
|
+
console.error(pc4.red(`
|
|
1163
1168
|
\u2716 [ERROR] ${result.error}`));
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1169
|
+
if (result.availableTasks && result.availableTasks.length > 0) {
|
|
1170
|
+
console.log(pc4.yellow("\nAvailable tasks in active changes:"));
|
|
1171
|
+
for (const t of result.availableTasks) {
|
|
1172
|
+
console.log(` - [${pc4.cyan(t.changeId)}] ${pc4.bold(t.id)}${t.title ? `: ${t.title}` : ""}`);
|
|
1173
|
+
}
|
|
1168
1174
|
}
|
|
1175
|
+
console.log();
|
|
1169
1176
|
}
|
|
1170
|
-
console.log();
|
|
1171
1177
|
return false;
|
|
1172
1178
|
}
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
+
if (!options.silent) {
|
|
1180
|
+
console.log(` - Detected change: ${pc4.bold(result.changeId || "N/A")}`);
|
|
1181
|
+
console.log(` - Release Branch: ${pc4.green(result.releaseBranch || "")} (Tier 2)`);
|
|
1182
|
+
console.log(` - Feature Branch: ${pc4.green(result.featureBranch || "")} (Tier 3)`);
|
|
1183
|
+
console.log(` - Task Branch: ${pc4.green(result.taskBranch || "")} (Tier 4)`);
|
|
1184
|
+
if (result.createdBranches && result.createdBranches.length > 0) {
|
|
1185
|
+
console.log(pc4.green(`
|
|
1179
1186
|
\u2714 Cascading branches created:`));
|
|
1180
|
-
|
|
1181
|
-
|
|
1187
|
+
for (const b of result.createdBranches) {
|
|
1188
|
+
console.log(` \u251C\u2500\u2500 ${pc4.bold(b)}`);
|
|
1189
|
+
}
|
|
1182
1190
|
}
|
|
1183
|
-
|
|
1184
|
-
console.log(pc4.green(`
|
|
1191
|
+
console.log(pc4.green(`
|
|
1185
1192
|
\u2714 [CHECKOUT] Successfully switched to working branch:`));
|
|
1186
|
-
|
|
1193
|
+
console.log(` \u{1F449} ${pc4.bold(pc4.cyan(result.switchedBranch || result.taskBranch || ""))}
|
|
1187
1194
|
`);
|
|
1195
|
+
}
|
|
1188
1196
|
return true;
|
|
1189
1197
|
}
|
|
1190
1198
|
function runGitHookInstall(options = {}) {
|