smart-commit-copilot-cli 0.1.3 → 0.1.5
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/CHANGELOG.md +24 -0
- package/README.md +484 -108
- package/docs/configuration.md +381 -127
- package/docs/getting-started.md +153 -42
- package/docs/publish.md +1 -1
- package/docs/releases/0.1.3-draft.md +1 -0
- package/docs/releases/0.1.4-draft.md +54 -0
- package/docs/releases/0.1.5-draft.md +44 -0
- package/out/cliApp.js +13 -0
- package/out/cliApp.js.map +1 -1
- package/package.json +1 -1
package/docs/getting-started.md
CHANGED
|
@@ -1,61 +1,106 @@
|
|
|
1
1
|
# Getting Started
|
|
2
2
|
|
|
3
|
-
This guide is the fastest path from a fresh
|
|
3
|
+
This guide is the fastest safe path from a fresh setup to a successful `smart-commit bridge` run.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
It is written for first-time users who want to:
|
|
6
|
+
|
|
7
|
+
- get the CLI working quickly
|
|
8
|
+
- understand what each step proves
|
|
9
|
+
- avoid accidental commit or push side effects
|
|
10
|
+
|
|
11
|
+
## What You Will Accomplish
|
|
6
12
|
|
|
7
13
|
By the end of this guide, you will:
|
|
8
14
|
|
|
9
|
-
1.
|
|
10
|
-
2. prepare a config
|
|
11
|
-
3. validate the merged config
|
|
15
|
+
1. choose how you want to run the CLI
|
|
16
|
+
2. prepare a minimal config
|
|
17
|
+
3. validate the final merged config
|
|
12
18
|
4. run a safe bridge preflight
|
|
13
19
|
5. run review-only mode
|
|
20
|
+
6. optionally enable pass history and reporting
|
|
14
21
|
|
|
15
22
|
## Prerequisites
|
|
16
23
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
-
|
|
24
|
+
Before you start, make sure you have:
|
|
25
|
+
|
|
26
|
+
- `Node.js >= 20`
|
|
27
|
+
- `git` available in your shell
|
|
28
|
+
- a Git repository to operate on
|
|
29
|
+
- staged changes, or a config that allows auto-stage
|
|
30
|
+
- an OpenAI-compatible API endpoint, model, and API key
|
|
31
|
+
|
|
32
|
+
Important command requirements:
|
|
33
|
+
|
|
34
|
+
- `bridge` requires `--repo`
|
|
35
|
+
- `report generate` requires `--repo`
|
|
36
|
+
- `config resolve` does not require `--repo`
|
|
37
|
+
- `bridge` requires a valid connection config
|
|
38
|
+
|
|
39
|
+
## Choose How To Run The CLI
|
|
40
|
+
|
|
41
|
+
You have three common options.
|
|
42
|
+
|
|
43
|
+
### Option 1: Use the published package
|
|
44
|
+
|
|
45
|
+
Install globally:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
npm install -g smart-commit-copilot-cli
|
|
49
|
+
smart-commit --help
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Or use `npx` directly:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
npx smart-commit-copilot-cli --help
|
|
56
|
+
```
|
|
20
57
|
|
|
21
|
-
|
|
58
|
+
### Option 2: Run from a local checkout
|
|
22
59
|
|
|
23
60
|
From the repository root:
|
|
24
61
|
|
|
25
62
|
```bash
|
|
26
63
|
npm install
|
|
27
64
|
npm run build
|
|
65
|
+
node out/cli.js --help
|
|
28
66
|
```
|
|
29
67
|
|
|
30
|
-
|
|
68
|
+
If you want the `smart-commit` command in your shell while developing locally:
|
|
31
69
|
|
|
32
70
|
```bash
|
|
33
71
|
npm link
|
|
72
|
+
smart-commit --help
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Option 3: Decide once, use one command form everywhere
|
|
76
|
+
|
|
77
|
+
All examples below use:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
smart-commit
|
|
34
81
|
```
|
|
35
82
|
|
|
36
|
-
If you
|
|
83
|
+
If you did not install or link the binary, replace it with:
|
|
37
84
|
|
|
38
85
|
```bash
|
|
39
86
|
node out/cli.js
|
|
40
87
|
```
|
|
41
88
|
|
|
42
|
-
## Step
|
|
89
|
+
## Step 1: Export Your API Key
|
|
43
90
|
|
|
44
91
|
```bash
|
|
45
92
|
export SMART_COMMIT_API_KEY="your-api-key"
|
|
46
93
|
```
|
|
47
94
|
|
|
48
|
-
|
|
95
|
+
Why this matters:
|
|
49
96
|
|
|
50
|
-
|
|
97
|
+
- the config examples in this guide reference `env:SMART_COMMIT_API_KEY`
|
|
98
|
+
- environment references are resolved before validation
|
|
99
|
+
- if the variable is missing, `bridge` cannot start
|
|
51
100
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
cp examples/config/smart-commit.json ./smart-commit.json
|
|
56
|
-
```
|
|
101
|
+
## Step 2: Create A Minimal Config File
|
|
57
102
|
|
|
58
|
-
|
|
103
|
+
In your target repository, create `smart-commit.json`:
|
|
59
104
|
|
|
60
105
|
```json
|
|
61
106
|
{
|
|
@@ -64,20 +109,37 @@ You can keep the example mostly as-is for first use. The important part is:
|
|
|
64
109
|
"baseUrl": "https://api.openai.com/v1",
|
|
65
110
|
"apiKey": "env:SMART_COMMIT_API_KEY",
|
|
66
111
|
"model": "gpt-5"
|
|
112
|
+
},
|
|
113
|
+
"git": {
|
|
114
|
+
"autoCommit": false,
|
|
115
|
+
"autoPush": false
|
|
67
116
|
}
|
|
68
117
|
}
|
|
69
118
|
}
|
|
70
119
|
```
|
|
71
120
|
|
|
72
|
-
|
|
121
|
+
The three most important fields are:
|
|
122
|
+
|
|
123
|
+
- `connection.baseUrl`
|
|
124
|
+
- `connection.apiKey`
|
|
125
|
+
- `connection.model`
|
|
126
|
+
|
|
127
|
+
This config is intentionally conservative:
|
|
128
|
+
|
|
129
|
+
- `autoCommit=false` prevents creating a local commit
|
|
130
|
+
- `autoPush=false` prevents pushing to remote
|
|
131
|
+
|
|
132
|
+
If you want a fuller example, see `examples/config/smart-commit.json`, but do not copy its side-effect settings blindly for first use.
|
|
133
|
+
|
|
134
|
+
## Step 3: Validate The Final Config
|
|
73
135
|
|
|
74
136
|
```bash
|
|
75
137
|
smart-commit config resolve --config ./smart-commit.json
|
|
76
138
|
```
|
|
77
139
|
|
|
78
|
-
This
|
|
140
|
+
This is the recommended first real command because it shows:
|
|
79
141
|
|
|
80
|
-
- merged
|
|
142
|
+
- merged config after CLI args, env vars, file config, and defaults
|
|
81
143
|
- secret redaction
|
|
82
144
|
- validation errors before execution
|
|
83
145
|
|
|
@@ -87,27 +149,43 @@ For a more readable terminal view:
|
|
|
87
149
|
smart-commit config resolve --config ./smart-commit.json --output text
|
|
88
150
|
```
|
|
89
151
|
|
|
90
|
-
|
|
152
|
+
You should expect:
|
|
153
|
+
|
|
154
|
+
- a valid merged config
|
|
155
|
+
- no missing environment variable errors
|
|
156
|
+
- no invalid numbers, booleans, regex patterns, or protocol values
|
|
91
157
|
|
|
92
|
-
|
|
158
|
+
## Step 4: Prepare Some Staged Changes
|
|
159
|
+
|
|
160
|
+
Inside your target repository:
|
|
93
161
|
|
|
94
162
|
```bash
|
|
95
163
|
git add -A
|
|
96
164
|
git status --short
|
|
97
165
|
```
|
|
98
166
|
|
|
99
|
-
`bridge` works on staged
|
|
167
|
+
`bridge` works on staged content, so this step matters.
|
|
168
|
+
|
|
169
|
+
If nothing is staged and `git.autoStageWhenNothingStaged` is disabled, `bridge` will block.
|
|
100
170
|
|
|
101
|
-
## Step
|
|
171
|
+
## Step 5: Run A Safe Preflight
|
|
102
172
|
|
|
103
173
|
```bash
|
|
104
174
|
smart-commit bridge --repo . --config ./smart-commit.json --dry-run
|
|
105
175
|
```
|
|
106
176
|
|
|
177
|
+
This checks:
|
|
178
|
+
|
|
179
|
+
- repository path is valid
|
|
180
|
+
- current path is inside Git
|
|
181
|
+
- staged diff input exists, or whether auto-stage would apply
|
|
182
|
+
- commit-message logic can resolve
|
|
183
|
+
- bridge input is ready for execution
|
|
184
|
+
|
|
107
185
|
Expected result:
|
|
108
186
|
|
|
109
187
|
- `status: "ready"` if everything is prepared
|
|
110
|
-
- `status: "blocked"` if
|
|
188
|
+
- `status: "blocked"` if input is missing or staging rules prevent execution
|
|
111
189
|
- `status: "error"` if config or runtime setup is invalid
|
|
112
190
|
|
|
113
191
|
Human-readable version:
|
|
@@ -116,7 +194,7 @@ Human-readable version:
|
|
|
116
194
|
smart-commit bridge --repo . --config ./smart-commit.json --dry-run --output text
|
|
117
195
|
```
|
|
118
196
|
|
|
119
|
-
## Step
|
|
197
|
+
## Step 6: Run Review-Only Mode
|
|
120
198
|
|
|
121
199
|
This is the safest way to onboard the CLI into a real workflow:
|
|
122
200
|
|
|
@@ -126,18 +204,20 @@ smart-commit bridge --repo . --config ./smart-commit.json --no-commit --no-push
|
|
|
126
204
|
|
|
127
205
|
This lets you verify:
|
|
128
206
|
|
|
129
|
-
- review
|
|
130
|
-
- commit-message generation
|
|
207
|
+
- review execution
|
|
208
|
+
- commit-message generation or validation
|
|
131
209
|
- threshold behavior
|
|
132
210
|
- structured JSON output
|
|
133
211
|
|
|
134
212
|
without creating a commit or pushing to remote.
|
|
135
213
|
|
|
136
|
-
When the review returns a numeric score, the final pass or block result is determined by comparing that score with the configured threshold
|
|
214
|
+
When the review returns a numeric score, the final pass or block result is determined by comparing that score with the configured `review.threshold`.
|
|
215
|
+
|
|
216
|
+
## Step 7: Enable Pass History When You Are Ready
|
|
137
217
|
|
|
138
|
-
|
|
218
|
+
If you want reporting later, enable pass history in config or with flags.
|
|
139
219
|
|
|
140
|
-
|
|
220
|
+
Example:
|
|
141
221
|
|
|
142
222
|
```bash
|
|
143
223
|
smart-commit bridge \
|
|
@@ -156,33 +236,64 @@ The stored event type depends on what the bridge actually completed:
|
|
|
156
236
|
- `commit_completed` when a local commit succeeds but automatic push is disabled
|
|
157
237
|
- `commit_push_completed` when both local commit and push succeed
|
|
158
238
|
|
|
159
|
-
## Step
|
|
239
|
+
## Step 8: Generate A Report
|
|
160
240
|
|
|
161
241
|
```bash
|
|
162
242
|
smart-commit report generate --repo . --config ./smart-commit.json --period weekly
|
|
163
243
|
```
|
|
164
244
|
|
|
245
|
+
Supported periods:
|
|
246
|
+
|
|
247
|
+
- `daily`
|
|
248
|
+
- `weekly`
|
|
249
|
+
- `monthly`
|
|
250
|
+
- `quarterly`
|
|
251
|
+
- `yearly`
|
|
252
|
+
|
|
253
|
+
If `--period` is omitted, the CLI defaults to `weekly`.
|
|
254
|
+
|
|
165
255
|
Useful follow-up checks:
|
|
166
256
|
|
|
167
257
|
- confirm `outputFilePath`
|
|
168
258
|
- confirm `renderMode`
|
|
169
|
-
- inspect generated Markdown
|
|
170
|
-
- inspect
|
|
171
|
-
|
|
172
|
-
-
|
|
259
|
+
- inspect the generated Markdown
|
|
260
|
+
- inspect summary facts in the JSON payload
|
|
261
|
+
|
|
262
|
+
Optional AI-enhanced reporting:
|
|
263
|
+
|
|
264
|
+
```bash
|
|
265
|
+
smart-commit report generate --repo . --config ./smart-commit.json --period weekly --report-ai
|
|
266
|
+
```
|
|
173
267
|
|
|
174
|
-
|
|
268
|
+
If AI report generation fails, the CLI falls back to local Markdown generation automatically.
|
|
269
|
+
|
|
270
|
+
## Suggested First Rollout
|
|
271
|
+
|
|
272
|
+
For a new repository or team, use this order:
|
|
175
273
|
|
|
176
274
|
1. validate config with `config resolve`
|
|
177
275
|
2. run `bridge --dry-run`
|
|
178
276
|
3. run `bridge --no-commit --no-push`
|
|
179
|
-
4. wire the same review-only command into Husky or
|
|
277
|
+
4. wire the same review-only command into Husky, Cursor hooks, or scripts
|
|
180
278
|
5. enable pass history
|
|
181
279
|
6. add reporting
|
|
182
|
-
7. only then
|
|
280
|
+
7. only then consider automatic commit or push
|
|
281
|
+
|
|
282
|
+
This rollout keeps the first adoption phase safe while still validating the full workflow.
|
|
283
|
+
|
|
284
|
+
## Troubleshooting Checklist
|
|
285
|
+
|
|
286
|
+
If your first run fails, check these in order:
|
|
287
|
+
|
|
288
|
+
1. Is `SMART_COMMIT_API_KEY` exported in the current shell?
|
|
289
|
+
2. Did you pass `--repo` for `bridge` or `report generate`?
|
|
290
|
+
3. Are there staged changes?
|
|
291
|
+
4. Does `smart-commit config resolve --config ./smart-commit.json` succeed?
|
|
292
|
+
5. Are `autoCommit` and `autoPush` still disabled while you test?
|
|
183
293
|
|
|
184
294
|
## Where To Go Next
|
|
185
295
|
|
|
296
|
+
- broader overview and safe rollout guidance: [`../README.md`](../README.md)
|
|
186
297
|
- configuration details: [`configuration.md`](./configuration.md)
|
|
187
298
|
- integration patterns: [`integrations.md`](./integrations.md)
|
|
188
299
|
- machine-facing contracts: [`contracts.md`](./contracts.md)
|
package/docs/publish.md
CHANGED
|
@@ -21,7 +21,7 @@ Current package name:
|
|
|
21
21
|
3. Run `npm run pack:dry-run`
|
|
22
22
|
4. Review [`CHANGELOG.md`](../CHANGELOG.md)
|
|
23
23
|
5. Review [`docs/release-checklist.md`](./release-checklist.md)
|
|
24
|
-
6. Review the matching release draft in [`docs/releases/0.1.
|
|
24
|
+
6. Review the matching release draft in [`docs/releases/0.1.5-draft.md`](./releases/0.1.5-draft.md)
|
|
25
25
|
|
|
26
26
|
## Recommended Release Order
|
|
27
27
|
|
|
@@ -13,6 +13,7 @@ This release focuses on bringing the CLI event model and report summaries closer
|
|
|
13
13
|
- pass-history records now store `autoCommit` and `autoPush` directly
|
|
14
14
|
- report totals now distinguish `commitCompleted` from `commitPushCompleted`
|
|
15
15
|
- report success counts now align with the final pass decision model used by the VS Code plugin
|
|
16
|
+
- CLI now supports `--version`, `-v`, and `version` for installer and postinstall checks
|
|
16
17
|
- bridge, pass-history, reporting, and documentation coverage were updated together for this behavior change
|
|
17
18
|
|
|
18
19
|
## Why This Release Matters
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# `smart-commit-copilot-cli` 0.1.4 Draft Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
`smart-commit-copilot-cli` 0.1.4 is a documentation and release-readiness update for the standalone CLI.
|
|
6
|
+
|
|
7
|
+
This release focuses on making the project easier to install, configure, and publish by expanding the primary user guides and aligning the release workflow with the current publish target.
|
|
8
|
+
|
|
9
|
+
## Highlights
|
|
10
|
+
|
|
11
|
+
- expanded `README.md` with clearer command usage, setup guidance, and integration-oriented examples
|
|
12
|
+
- expanded `docs/configuration.md` with more detailed configuration behavior and option explanations
|
|
13
|
+
- expanded `docs/getting-started.md` with a more complete onboarding flow for first-time CLI usage
|
|
14
|
+
- publish guidance now points to the matching `0.1.4` release draft
|
|
15
|
+
|
|
16
|
+
## Why This Release Matters
|
|
17
|
+
|
|
18
|
+
This version improves day-to-day usability around adoption and release preparation:
|
|
19
|
+
|
|
20
|
+
- new users can get from install to first successful run with less guesswork
|
|
21
|
+
- configuration behavior is easier to understand before wiring the CLI into hooks or external agents
|
|
22
|
+
- release preparation is more straightforward because the publish checklist now points at the current draft
|
|
23
|
+
- maintainers have a clearer baseline for future publish iterations
|
|
24
|
+
|
|
25
|
+
## Notable Documentation Updates
|
|
26
|
+
|
|
27
|
+
### README
|
|
28
|
+
|
|
29
|
+
- installation, command usage, and integration guidance were expanded
|
|
30
|
+
- examples now give better context for common CLI workflows
|
|
31
|
+
|
|
32
|
+
### Configuration guide
|
|
33
|
+
|
|
34
|
+
- configuration concepts and options are described in more operational detail
|
|
35
|
+
- readers now have a clearer reference when deciding how to supply config through files, env vars, or CLI flags
|
|
36
|
+
|
|
37
|
+
### Getting started guide
|
|
38
|
+
|
|
39
|
+
- onboarding steps now provide more complete setup and verification guidance
|
|
40
|
+
- first-run expectations are documented more clearly for local validation
|
|
41
|
+
|
|
42
|
+
## Suggested Upgrade Path
|
|
43
|
+
|
|
44
|
+
1. update to `0.1.4`
|
|
45
|
+
2. run `npm test`
|
|
46
|
+
3. run `npm run smoke:test`
|
|
47
|
+
4. run `npm run pack:dry-run`
|
|
48
|
+
5. publish only after all three checks pass
|
|
49
|
+
|
|
50
|
+
## Known Follow-Up Areas
|
|
51
|
+
|
|
52
|
+
- additional publish automation once the release flow is fully routine
|
|
53
|
+
- continued expansion of end-to-end integration examples for external agents and hooks
|
|
54
|
+
- broader release validation if publish-time verification grows beyond the current local command set
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# `smart-commit-copilot-cli` 0.1.5 Draft Release Notes
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
`smart-commit-copilot-cli` 0.1.5 is a documentation link-fix release for the standalone CLI.
|
|
6
|
+
|
|
7
|
+
This release focuses on making the README's deeper-dive documentation links continue to work correctly from published package surfaces such as npm and unpkg.
|
|
8
|
+
|
|
9
|
+
## Highlights
|
|
10
|
+
|
|
11
|
+
- README links for `docs/getting-started.md`, `docs/configuration.md`, `docs/integrations.md`, and `docs/contracts.md` now use `unpkg` URLs
|
|
12
|
+
- publish guidance now points to the matching `0.1.5` release draft
|
|
13
|
+
|
|
14
|
+
## Why This Release Matters
|
|
15
|
+
|
|
16
|
+
This version improves the published-package documentation experience:
|
|
17
|
+
|
|
18
|
+
- users browsing the packaged README can open the deeper guides without relying on repository-relative paths
|
|
19
|
+
- npm and unpkg readers can navigate from the package landing page to the bundled docs more reliably
|
|
20
|
+
- maintainers have a release draft aligned with the new publish target
|
|
21
|
+
|
|
22
|
+
## Notable Documentation Updates
|
|
23
|
+
|
|
24
|
+
### README
|
|
25
|
+
|
|
26
|
+
- deeper documentation links now target the bundled files through `unpkg`
|
|
27
|
+
- the package README is more portable across registry and package-browser contexts
|
|
28
|
+
|
|
29
|
+
### Publish guide
|
|
30
|
+
|
|
31
|
+
- the pre-publish checklist now points at the `0.1.5` draft
|
|
32
|
+
|
|
33
|
+
## Suggested Upgrade Path
|
|
34
|
+
|
|
35
|
+
1. update to `0.1.5`
|
|
36
|
+
2. run `npm test`
|
|
37
|
+
3. run `npm run smoke:test`
|
|
38
|
+
4. run `npm run pack:dry-run`
|
|
39
|
+
5. publish only after all three checks pass
|
|
40
|
+
|
|
41
|
+
## Known Follow-Up Areas
|
|
42
|
+
|
|
43
|
+
- additional publish-surface validation for README links after npm release
|
|
44
|
+
- broader release automation once the publish flow is fully routine
|
package/out/cliApp.js
CHANGED
|
@@ -10,6 +10,7 @@ const contracts_1 = require("./contracts");
|
|
|
10
10
|
const logger_1 = require("./logger");
|
|
11
11
|
const output_1 = require("./output");
|
|
12
12
|
const renderOutput_1 = require("./renderOutput");
|
|
13
|
+
const SMART_COMMIT_CLI_PACKAGE_VERSION = require("../package.json").version ?? "0.0.0";
|
|
13
14
|
function runCli(argv, env = process.env) {
|
|
14
15
|
try {
|
|
15
16
|
const command = parseCommand(argv);
|
|
@@ -20,6 +21,13 @@ function runCli(argv, env = process.env) {
|
|
|
20
21
|
stderr: ""
|
|
21
22
|
};
|
|
22
23
|
}
|
|
24
|
+
if (command.kind === "version") {
|
|
25
|
+
return {
|
|
26
|
+
exitCode: 0,
|
|
27
|
+
stdout: `${SMART_COMMIT_CLI_PACKAGE_VERSION}\n`,
|
|
28
|
+
stderr: ""
|
|
29
|
+
};
|
|
30
|
+
}
|
|
23
31
|
if (command.kind === "config-resolve") {
|
|
24
32
|
const resolved = (0, config_1.resolveCliConfig)({
|
|
25
33
|
argv: command.flags,
|
|
@@ -123,6 +131,10 @@ async function runCliAsync(argv, env = process.env) {
|
|
|
123
131
|
}
|
|
124
132
|
function parseCommand(argv) {
|
|
125
133
|
const positional = argv.filter((token) => !token.startsWith("--"));
|
|
134
|
+
if ((argv.length === 1 && (argv[0] === "--version" || argv[0] === "-v")) ||
|
|
135
|
+
(positional.length === 1 && positional[0] === "version")) {
|
|
136
|
+
return { kind: "version", raw: positional.join(" ") || argv[0] || "version" };
|
|
137
|
+
}
|
|
126
138
|
if (argv.length === 0 || argv.includes("--help") || argv.includes("-h") || positional[0] === "help") {
|
|
127
139
|
return { kind: "help", raw: positional.join(" ") };
|
|
128
140
|
}
|
|
@@ -184,6 +196,7 @@ function buildHelpText() {
|
|
|
184
196
|
" smart-commit bridge [flags]",
|
|
185
197
|
" smart-commit report generate [flags]",
|
|
186
198
|
" smart-commit schema print --target <config-file|config-resolve|bridge|report-generate>",
|
|
199
|
+
" smart-commit --version",
|
|
187
200
|
" smart-commit --help",
|
|
188
201
|
"",
|
|
189
202
|
"Current commands:",
|
package/out/cliApp.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cliApp.js","sourceRoot":"","sources":["../src/cliApp.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"cliApp.js","sourceRoot":"","sources":["../src/cliApp.ts"],"names":[],"mappings":";;AAyBA,wBA0EC;AAED,kCAmEC;AA+DD,0CAEC;AAzOD,8CAA6E;AAC7E,8CAA6D;AAC7D,qCAA4C;AAC5C,2CAIqB;AACrB,qCAAoD;AACpD,qCAA2C;AAC3C,iDAKwB;AAExB,MAAM,gCAAgC,GAAI,OAAO,CAAC,iBAAiB,CAA0B,CAAC,OAAO,IAAI,OAAO,CAAC;AAQjH,SAAgB,MAAM,CAAC,IAAuB,EAAE,MAAyB,OAAO,CAAC,GAAG;IAClF,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;QAEnC,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;YAC5B,OAAO;gBACL,QAAQ,EAAE,CAAC;gBACX,MAAM,EAAE,aAAa,EAAE;gBACvB,MAAM,EAAE,EAAE;aACX,CAAC;QACJ,CAAC;QAED,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YAC/B,OAAO;gBACL,QAAQ,EAAE,CAAC;gBACX,MAAM,EAAE,GAAG,gCAAgC,IAAI;gBAC/C,MAAM,EAAE,EAAE;aACX,CAAC;QACJ,CAAC;QAED,IAAI,OAAO,CAAC,IAAI,KAAK,gBAAgB,EAAE,CAAC;YACtC,MAAM,QAAQ,GAAG,IAAA,yBAAgB,EAAC;gBAChC,IAAI,EAAE,OAAO,CAAC,KAAK;gBACnB,GAAG;gBACH,QAAQ,EAAE,IAAI;gBACd,iBAAiB,EAAE,KAAK;aACzB,CAAC,CAAC;YAEH,MAAM,OAAO,GAAG;gBACd,aAAa,EAAE,2CAA+B;gBAC9C,MAAM,EAAE,IAAa;gBACrB,OAAO,EAAE,gBAAy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