@laitszkin/apollo-toolkit 3.13.2 → 3.14.0
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/AGENTS.md +7 -7
- package/CHANGELOG.md +27 -0
- package/CLAUDE.md +8 -8
- package/analyse-app-logs/SKILL.md +3 -3
- package/bin/apollo-toolkit.ts +7 -0
- package/codex/codex-memory-manager/SKILL.md +2 -2
- package/codex/learn-skill-from-conversations/SKILL.md +3 -3
- package/dist/bin/apollo-toolkit.d.ts +2 -0
- package/dist/bin/apollo-toolkit.js +7 -0
- package/dist/lib/cli.d.ts +41 -0
- package/dist/lib/cli.js +655 -0
- package/dist/lib/installer.d.ts +59 -0
- package/dist/lib/installer.js +404 -0
- package/dist/lib/tool-runner.d.ts +19 -0
- package/dist/lib/tool-runner.js +536 -0
- package/dist/lib/tools/architecture.d.ts +2 -0
- package/dist/lib/tools/architecture.js +34 -0
- package/dist/lib/tools/create-specs.d.ts +2 -0
- package/dist/lib/tools/create-specs.js +175 -0
- package/dist/lib/tools/docs-to-voice.d.ts +2 -0
- package/dist/lib/tools/docs-to-voice.js +705 -0
- package/dist/lib/tools/enforce-video-aspect-ratio.d.ts +2 -0
- package/dist/lib/tools/enforce-video-aspect-ratio.js +312 -0
- package/dist/lib/tools/extract-conversations.d.ts +2 -0
- package/dist/lib/tools/extract-conversations.js +105 -0
- package/dist/lib/tools/extract-pdf-text.d.ts +2 -0
- package/dist/lib/tools/extract-pdf-text.js +92 -0
- package/dist/lib/tools/filter-logs.d.ts +2 -0
- package/dist/lib/tools/filter-logs.js +94 -0
- package/dist/lib/tools/find-github-issues.d.ts +2 -0
- package/dist/lib/tools/find-github-issues.js +176 -0
- package/dist/lib/tools/generate-storyboard-images.d.ts +2 -0
- package/dist/lib/tools/generate-storyboard-images.js +419 -0
- package/dist/lib/tools/log-cli-utils.d.ts +35 -0
- package/dist/lib/tools/log-cli-utils.js +233 -0
- package/dist/lib/tools/open-github-issue.d.ts +2 -0
- package/dist/lib/tools/open-github-issue.js +750 -0
- package/dist/lib/tools/read-github-issue.d.ts +2 -0
- package/dist/lib/tools/read-github-issue.js +134 -0
- package/dist/lib/tools/render-error-book.d.ts +2 -0
- package/dist/lib/tools/render-error-book.js +265 -0
- package/dist/lib/tools/render-katex.d.ts +2 -0
- package/dist/lib/tools/render-katex.js +294 -0
- package/dist/lib/tools/review-threads.d.ts +2 -0
- package/dist/lib/tools/review-threads.js +491 -0
- package/dist/lib/tools/search-logs.d.ts +2 -0
- package/dist/lib/tools/search-logs.js +164 -0
- package/dist/lib/tools/sync-memory-index.d.ts +2 -0
- package/dist/lib/tools/sync-memory-index.js +113 -0
- package/dist/lib/tools/validate-openai-agent-config.d.ts +2 -0
- package/dist/lib/tools/validate-openai-agent-config.js +184 -0
- package/dist/lib/tools/validate-skill-frontmatter.d.ts +2 -0
- package/dist/lib/tools/validate-skill-frontmatter.js +118 -0
- package/dist/lib/types.d.ts +82 -0
- package/dist/lib/types.js +2 -0
- package/dist/lib/updater.d.ts +34 -0
- package/dist/lib/updater.js +112 -0
- package/dist/lib/utils/format.d.ts +2 -0
- package/dist/lib/utils/format.js +6 -0
- package/dist/lib/utils/terminal.d.ts +12 -0
- package/dist/lib/utils/terminal.js +26 -0
- package/docs-to-voice/SKILL.md +0 -1
- package/generate-spec/SKILL.md +1 -1
- package/katex/SKILL.md +1 -2
- package/lib/cli.ts +780 -0
- package/lib/installer.ts +466 -0
- package/lib/tool-runner.ts +561 -0
- package/lib/tools/architecture.ts +34 -0
- package/lib/tools/create-specs.ts +204 -0
- package/lib/tools/docs-to-voice.ts +799 -0
- package/lib/tools/enforce-video-aspect-ratio.ts +368 -0
- package/lib/tools/extract-conversations.ts +114 -0
- package/lib/tools/extract-pdf-text.ts +99 -0
- package/lib/tools/filter-logs.ts +118 -0
- package/lib/tools/find-github-issues.ts +211 -0
- package/lib/tools/generate-storyboard-images.ts +455 -0
- package/lib/tools/log-cli-utils.ts +262 -0
- package/lib/tools/open-github-issue.ts +930 -0
- package/lib/tools/read-github-issue.ts +179 -0
- package/lib/tools/render-error-book.ts +300 -0
- package/lib/tools/render-katex.ts +325 -0
- package/lib/tools/review-threads.ts +590 -0
- package/lib/tools/search-logs.ts +200 -0
- package/lib/tools/sync-memory-index.ts +114 -0
- package/lib/tools/validate-openai-agent-config.ts +209 -0
- package/lib/tools/validate-skill-frontmatter.ts +124 -0
- package/lib/types.ts +90 -0
- package/lib/updater.ts +165 -0
- package/lib/utils/format.ts +7 -0
- package/lib/utils/terminal.ts +22 -0
- package/open-github-issue/SKILL.md +2 -2
- package/optimise-skill/SKILL.md +1 -1
- package/package.json +13 -4
- package/resources/project-architecture/assets/architecture.css +764 -0
- package/resources/project-architecture/assets/viewer.client.js +144 -0
- package/resources/project-architecture/index.html +42 -0
- package/review-spec-related-changes/SKILL.md +1 -1
- package/solve-issues-found-during-review/SKILL.md +2 -1
- package/tsconfig.json +28 -0
- package/analyse-app-logs/scripts/__pycache__/filter_logs_by_time.cpython-312.pyc +0 -0
- package/analyse-app-logs/scripts/__pycache__/log_cli_utils.cpython-312.pyc +0 -0
- package/analyse-app-logs/scripts/__pycache__/search_logs.cpython-312.pyc +0 -0
- package/analyse-app-logs/scripts/filter_logs_by_time.py +0 -64
- package/analyse-app-logs/scripts/log_cli_utils.py +0 -112
- package/analyse-app-logs/scripts/search_logs.py +0 -137
- package/analyse-app-logs/tests/test_filter_logs_by_time.py +0 -95
- package/analyse-app-logs/tests/test_search_logs.py +0 -100
- package/codex/codex-memory-manager/scripts/extract_recent_conversations.py +0 -369
- package/codex/codex-memory-manager/scripts/sync_memory_index.py +0 -130
- package/codex/codex-memory-manager/tests/test_extract_recent_conversations.py +0 -177
- package/codex/codex-memory-manager/tests/test_memory_template.py +0 -37
- package/codex/codex-memory-manager/tests/test_sync_memory_index.py +0 -84
- package/codex/learn-skill-from-conversations/scripts/extract_recent_conversations.py +0 -369
- package/codex/learn-skill-from-conversations/tests/test_extract_recent_conversations.py +0 -177
- package/docs-to-voice/scripts/__pycache__/docs_to_voice.cpython-312.pyc +0 -0
- package/docs-to-voice/scripts/docs_to_voice.py +0 -1385
- package/docs-to-voice/scripts/docs_to_voice.sh +0 -11
- package/docs-to-voice/tests/test_docs_to_voice_api_max_chars.py +0 -210
- package/docs-to-voice/tests/test_docs_to_voice_sentence_timeline.py +0 -115
- package/docs-to-voice/tests/test_docs_to_voice_settings.py +0 -43
- package/docs-to-voice/tests/test_docs_to_voice_shell_wrapper.py +0 -51
- package/docs-to-voice/tests/test_docs_to_voice_speech_rate.py +0 -57
- package/generate-spec/scripts/__pycache__/create-specscpython-312.pyc +0 -0
- package/generate-spec/scripts/create-specs +0 -215
- package/generate-spec/tests/test_create_specs.py +0 -200
- package/init-project-html/scripts/architecture-bootstrap-render.js +0 -16
- package/init-project-html/scripts/architecture.js +0 -296
- package/katex/scripts/__pycache__/render_katex.cpython-312.pyc +0 -0
- package/katex/scripts/render_katex.py +0 -247
- package/katex/scripts/render_katex.sh +0 -11
- package/katex/tests/test_render_katex.py +0 -174
- package/learning-error-book/scripts/render_error_book_json_to_pdf.py +0 -590
- package/learning-error-book/tests/test_render_error_book_json_to_pdf.py +0 -134
- package/open-github-issue/scripts/__pycache__/open_github_issue.cpython-312.pyc +0 -0
- package/open-github-issue/scripts/open_github_issue.py +0 -705
- package/open-github-issue/tests/test_open_github_issue.py +0 -381
- package/openai-text-to-image-storyboard/scripts/generate_storyboard_images.py +0 -763
- package/openai-text-to-image-storyboard/tests/test_generate_storyboard_images.py +0 -177
- package/read-github-issue/scripts/__pycache__/find_issues.cpython-312.pyc +0 -0
- package/read-github-issue/scripts/__pycache__/read_issue.cpython-312.pyc +0 -0
- package/read-github-issue/scripts/find_issues.py +0 -148
- package/read-github-issue/scripts/read_issue.py +0 -108
- package/read-github-issue/tests/test_find_issues.py +0 -127
- package/read-github-issue/tests/test_read_issue.py +0 -109
- package/resolve-review-comments/scripts/__pycache__/review_threads.cpython-312.pyc +0 -0
- package/resolve-review-comments/scripts/review_threads.py +0 -425
- package/resolve-review-comments/tests/test_review_threads.py +0 -74
- package/scripts/validate_openai_agent_config.py +0 -209
- package/scripts/validate_skill_frontmatter.py +0 -131
- package/text-to-short-video/scripts/__pycache__/enforce_video_aspect_ratio.cpython-312.pyc +0 -0
- package/text-to-short-video/scripts/enforce_video_aspect_ratio.py +0 -350
- package/text-to-short-video/tests/test_enforce_video_aspect_ratio.py +0 -194
- package/weekly-financial-event-report/scripts/extract_pdf_text_pdfkit.swift +0 -99
- package/weekly-financial-event-report/tests/test_extract_pdf_text_pdfkit.py +0 -64
package/AGENTS.md
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
## Common Development Commands
|
|
4
4
|
|
|
5
5
|
- `npm test` - 執行 Node 測試套件(`node --test`)。
|
|
6
|
-
- `node bin/apollo-toolkit.js [mode...]` - 直接從倉庫啟動 CLI,將技能安裝至指定目標(codex/openclaw/trae/agents/claude-code/all)。
|
|
7
|
-
- `node bin/apollo-toolkit.js uninstall [mode...]` - 從指定目標移除已安裝的 Apollo Toolkit 技能。
|
|
8
|
-
- `node bin/apollo-toolkit.js tools` - 列出所有內建 CLI 工具及其分類。
|
|
9
|
-
- `node bin/apollo-toolkit.js <tool> [args...]` - 執行內建工具(如 `filter-logs`、`search-logs`、`architecture`、`create-specs` 等)。
|
|
10
|
-
- `node bin/apollo-toolkit.js architecture [diff]` - 開啟專案 HTML 架構圖,或搭配 `diff` 產生分頁式 before/after 檢視器。
|
|
11
|
-
- `
|
|
12
|
-
- `
|
|
6
|
+
- `node dist/bin/apollo-toolkit.js [mode...]` - 直接從倉庫啟動 CLI,將技能安裝至指定目標(codex/openclaw/trae/agents/claude-code/all)。
|
|
7
|
+
- `node dist/bin/apollo-toolkit.js uninstall [mode...]` - 從指定目標移除已安裝的 Apollo Toolkit 技能。
|
|
8
|
+
- `node dist/bin/apollo-toolkit.js tools` - 列出所有內建 CLI 工具及其分類。
|
|
9
|
+
- `node dist/bin/apollo-toolkit.js <tool> [args...]` - 執行內建工具(如 `filter-logs`、`search-logs`、`architecture`、`create-specs` 等)。
|
|
10
|
+
- `node dist/bin/apollo-toolkit.js architecture [diff]` - 開啟專案 HTML 架構圖,或搭配 `diff` 產生分頁式 before/after 檢視器。
|
|
11
|
+
- `apltk validate-skill-frontmatter` - 驗證所有頂層技能 `SKILL.md` 的 frontmatter 格式與命名規範。
|
|
12
|
+
- `apltk validate-openai-agent-config` - 驗證所有技能 `agents/openai.yaml` 的設定完整性。
|
|
13
13
|
- `./scripts/install_skills.sh [mode...]` - 透過本地 shell 腳本安裝技能(非 npm 安裝方式)。
|
|
14
14
|
|
|
15
15
|
## Project Business Goals
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this repository are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [v3.14.0] - 2026-05-15
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- TypeScript infrastructure (`tsconfig.json`, `lib/types.ts`, `lib/utils/`) for type-safe CLI development.
|
|
10
|
+
- TypeScript handlers for all 19 built-in tools under `lib/tools/`, enabling direct function calls via the CLI without subprocess spawning.
|
|
11
|
+
- `apltk architecture diff` command for paginated before/after architecture viewers.
|
|
12
|
+
- `apltk validate-skill-frontmatter` and `apltk validate-openai-agent-config` CLI commands as TypeScript replacements for the removed Python validation scripts.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- Convert CLI core (`lib/cli`, `lib/tool-runner`, `lib/installer`, `lib/updater`, `bin/apollo-toolkit`) from CommonJS JavaScript to TypeScript.
|
|
17
|
+
- Port observability tools (`filter-logs`, `search-logs`), GitHub tools (`open-github-issue`, `find-github-issues`, `read-github-issue`, `review-threads`), media tools (`docs-to-voice`, `render-katex`, `render-error-book`, `generate-storyboard-images`, `enforce-video-aspect-ratio`, `extract-pdf-text`), and spec tools (`create-specs`) from Python/Swift/Shell to TypeScript handlers.
|
|
18
|
+
- Merge two identical `extract_recent_conversations.py` scripts into a single TypeScript handler supporting both `extract-codex-conversations` and `extract-skill-conversations` CLI commands.
|
|
19
|
+
- Replace `init-project-html/scripts/architecture.js` with a TypeScript handler in `lib/tools/architecture.ts`.
|
|
20
|
+
- Update installer to stop copying `scripts/` directories (all tool scripts are now natively handled).
|
|
21
|
+
- Update all SKILL.md files to reference `apltk <tool-name>` instead of legacy script paths.
|
|
22
|
+
- Replace Python validation scripts (`validate_skill_frontmatter.py`, `validate_openai_agent_config.py`) with native TypeScript CLI commands.
|
|
23
|
+
- Archive completed TypeScript migration specs and sync project documentation (architecture docs, testing conventions, AGENTS.md, CLAUDE.md) to reflect current TypeScript-based tooling.
|
|
24
|
+
|
|
25
|
+
### Removed
|
|
26
|
+
|
|
27
|
+
- All 14 skill-level `scripts/` directories with 18 Python, 2 Shell, 1 Swift, and 2 JavaScript scripts.
|
|
28
|
+
- `test/python-scripts.test.js` (Python scripts no longer exist).
|
|
29
|
+
- `__pycache__/` and `*.pyc` from `.gitignore` (no more Python assets in the skill tree).
|
|
30
|
+
- Old `docs/plans/2026-05-14/` planning artifacts (archived to `docs/archive/`).
|
|
31
|
+
|
|
5
32
|
## [v3.13.2] - 2026-05-14
|
|
6
33
|
|
|
7
34
|
### Changed
|
package/CLAUDE.md
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
## Common Development Commands
|
|
4
4
|
|
|
5
5
|
- `npm test` - 執行 Node 測試套件(`node --test`)。
|
|
6
|
-
- `node bin/apollo-toolkit.js [mode...]` - 直接從倉庫啟動 CLI,將技能安裝至指定目標(codex/openclaw/trae/agents/claude-code/all)。
|
|
7
|
-
- `node bin/apollo-toolkit.js uninstall [mode...]` - 從指定目標移除已安裝的 Apollo Toolkit 技能。
|
|
8
|
-
- `node bin/apollo-toolkit.js tools` - 列出所有內建 CLI 工具及其分類。
|
|
9
|
-
- `node bin/apollo-toolkit.js <tool> [args...]` - 執行內建工具(如 `filter-logs`、`search-logs`、`architecture`、`create-specs` 等)。
|
|
10
|
-
- `node bin/apollo-toolkit.js architecture [diff]` - 開啟專案 HTML 架構圖,或搭配 `diff` 產生分頁式 before/after 檢視器。
|
|
11
|
-
- `
|
|
12
|
-
- `
|
|
6
|
+
- `node dist/bin/apollo-toolkit.js [mode...]` - 直接從倉庫啟動 CLI,將技能安裝至指定目標(codex/openclaw/trae/agents/claude-code/all)。
|
|
7
|
+
- `node dist/bin/apollo-toolkit.js uninstall [mode...]` - 從指定目標移除已安裝的 Apollo Toolkit 技能。
|
|
8
|
+
- `node dist/bin/apollo-toolkit.js tools` - 列出所有內建 CLI 工具及其分類。
|
|
9
|
+
- `node dist/bin/apollo-toolkit.js <tool> [args...]` - 執行內建工具(如 `filter-logs`、`search-logs`、`architecture`、`create-specs` 等)。
|
|
10
|
+
- `node dist/bin/apollo-toolkit.js architecture [diff]` - 開啟專案 HTML 架構圖,或搭配 `diff` 產生分頁式 before/after 檢視器。
|
|
11
|
+
- `apltk validate-skill-frontmatter` - 驗證所有頂層技能 `SKILL.md` 的 frontmatter 格式與命名規範。
|
|
12
|
+
- `apltk validate-openai-agent-config` - 驗證所有技能 `agents/openai.yaml` 的設定完整性。
|
|
13
13
|
- `./scripts/install_skills.sh [mode...]` - 透過本地 shell 腳本安裝技能(非 npm 安裝方式)。
|
|
14
14
|
|
|
15
15
|
## Project Business Goals
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
- `docs/architecture/skill-structure.md` - 技能目錄佈局、frontmatter 規範、選擇性擴充
|
|
33
33
|
- `docs/principles/naming-conventions.md` - 命名慣例:kebab-case、文件命名、工具命名
|
|
34
34
|
- `docs/principles/skill-development.md` - 技能開發慣例:frontmatter、主體結構、依賴宣告
|
|
35
|
-
- `docs/principles/testing-conventions.md` - 測試慣例:node:test
|
|
35
|
+
- `docs/principles/testing-conventions.md` - 測試慣例:node:test、隔離、輸出捕捉
|
|
36
36
|
- `README.md` - 公開安裝指南與技能目錄
|
|
37
37
|
- `CHANGELOG.md` - 版本發佈歷史
|
|
38
38
|
- `LICENSE` - MIT 授權條款
|
|
@@ -118,7 +118,7 @@ Use this structure in responses:
|
|
|
118
118
|
|
|
119
119
|
- `references/investigation-checklist.md`: Step-by-step checklist for evidence-driven log investigations.
|
|
120
120
|
- `references/log-signal-patterns.md`: Common log signatures, likely causes, validation hints, and false-positive guards.
|
|
121
|
-
- `
|
|
122
|
-
- `
|
|
123
|
-
-
|
|
121
|
+
- `apltk filter-logs`: Filter raw logs to a bounded incident window from files or stdin (TypeScript handler in `lib/tools/filter-logs.ts`).
|
|
122
|
+
- `apltk search-logs`: Search logs by keyword or regex with optional time-window filtering and context lines (TypeScript handler in `lib/tools/search-logs.ts`).
|
|
123
|
+
- Shared timestamp parsing and stdin/file iteration utilities built into `lib/tools/log-cli-utils.ts`.
|
|
124
124
|
- Dependency skill: `open-github-issue` for deterministic issue publishing with auth fallback and README language detection.
|
|
@@ -25,8 +25,8 @@ Keep a durable, categorized memory of user preferences so future agents can quic
|
|
|
25
25
|
|
|
26
26
|
## Required Resources
|
|
27
27
|
|
|
28
|
-
- `
|
|
29
|
-
- `
|
|
28
|
+
- `apltk extract-codex-conversations`: Read the last N hours of Codex sessions, including archived sessions (TypeScript handler in `lib/tools/extract-conversations.ts`).
|
|
29
|
+
- `apltk sync-codex-memory-index`: Maintain a normalized memory index section at the end of `~/.codex/AGENTS.md` (TypeScript handler in `lib/tools/sync-memory-index.ts`).
|
|
30
30
|
|
|
31
31
|
## Workflow
|
|
32
32
|
|
|
@@ -21,7 +21,7 @@ description: Learn and evolve the local skill library from recent Codex conversa
|
|
|
21
21
|
|
|
22
22
|
## Required Resources
|
|
23
23
|
|
|
24
|
-
- `
|
|
24
|
+
- `apltk extract-skill-conversations`: Deterministic session extraction (TypeScript handler in `lib/tools/extract-conversations.ts`, shared with `codex-memory-manager`).
|
|
25
25
|
- `$skill-creator` for all skill creation/update work.
|
|
26
26
|
|
|
27
27
|
## Workflow
|
|
@@ -79,7 +79,7 @@ apltk extract-skill-conversations --lookback-minutes 1440
|
|
|
79
79
|
### 4) Apply changes through skill-creator
|
|
80
80
|
|
|
81
81
|
- Explicitly follow `$skill-creator` workflow before editing skills.
|
|
82
|
-
- For new shared skills,
|
|
82
|
+
- For new shared skills, use the Codex system `skill-creator` initialization script (located at `~/.codex/skills/.system/skill-creator/scripts/init_skill.py` -- an external Codex system tool outside the scope of this project), then complete `SKILL.md` and required resources.
|
|
83
83
|
- For new project-specific skills, create or update them under the relevant project's `~/.codex/skills/` directory instead of the shared catalog.
|
|
84
84
|
- For existing skills, make minimal focused edits and keep behavior consistent.
|
|
85
85
|
|
|
@@ -88,7 +88,7 @@ apltk extract-skill-conversations --lookback-minutes 1440
|
|
|
88
88
|
- Run:
|
|
89
89
|
|
|
90
90
|
```bash
|
|
91
|
-
python3 ~/.codex/skills/.system/skill-creator/scripts/quick_validate.py <skill-path>
|
|
91
|
+
python3 ~/.codex/skills/.system/skill-creator/scripts/quick_validate.py <skill-path> # Codex system validation tool (external, outside the scope of this project)
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
- Resolve validation failures before finishing.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { CliContext, ParsedArguments } from './types';
|
|
2
|
+
declare function buildBanner({ version, colorEnabled }: {
|
|
3
|
+
version: string;
|
|
4
|
+
colorEnabled: boolean;
|
|
5
|
+
}): string;
|
|
6
|
+
declare function buildWelcomeScreen({ version, colorEnabled, stage }: {
|
|
7
|
+
version: string;
|
|
8
|
+
colorEnabled: boolean;
|
|
9
|
+
stage?: number;
|
|
10
|
+
}): string;
|
|
11
|
+
declare function buildHelpText({ version, colorEnabled }: {
|
|
12
|
+
version: string;
|
|
13
|
+
colorEnabled: boolean;
|
|
14
|
+
}): string;
|
|
15
|
+
declare function buildToolsHelp({ version, colorEnabled }: {
|
|
16
|
+
version: string;
|
|
17
|
+
colorEnabled: boolean;
|
|
18
|
+
}): string;
|
|
19
|
+
declare function buildInstallHelpText({ version, colorEnabled }: {
|
|
20
|
+
version: string;
|
|
21
|
+
colorEnabled: boolean;
|
|
22
|
+
}): string;
|
|
23
|
+
declare function buildUninstallHelpText({ version, colorEnabled }: {
|
|
24
|
+
version: string;
|
|
25
|
+
colorEnabled: boolean;
|
|
26
|
+
}): string;
|
|
27
|
+
declare function parseArguments(argv: string[]): ParsedArguments;
|
|
28
|
+
declare function promptForModes({ stdin, stdout, version, env }: {
|
|
29
|
+
stdin: NodeJS.ReadStream;
|
|
30
|
+
stdout: NodeJS.WriteStream;
|
|
31
|
+
version: string;
|
|
32
|
+
env: NodeJS.ProcessEnv;
|
|
33
|
+
}): Promise<string[]>;
|
|
34
|
+
declare function promptForUninstallModes({ stdin, stdout, version, env }: {
|
|
35
|
+
stdin: NodeJS.ReadStream;
|
|
36
|
+
stdout: NodeJS.WriteStream;
|
|
37
|
+
version: string;
|
|
38
|
+
env: NodeJS.ProcessEnv;
|
|
39
|
+
}): Promise<string[]>;
|
|
40
|
+
export { parseArguments, buildHelpText, buildInstallHelpText, buildUninstallHelpText, buildToolsHelp, buildBanner, buildWelcomeScreen, promptForModes, promptForUninstallModes };
|
|
41
|
+
export declare function run(argv: string[], context?: CliContext): Promise<number>;
|