feat(cli): add initial CLI implementation with argument parsing and prompt handling
- Created package.json and package-lock.json for CLI package. - Implemented argument parsing in args.ts to handle various flags and commands. - Developed main CLI logic in cli.ts to execute commands and handle errors. - Added configuration loading from a JSON file in config.ts, with environment variable support. - Implemented prompt resolution and provider interaction in prompt.ts. - Added usage documentation for the CLI. - Configured TypeScript settings in tsconfig.json for the CLI package. - Updated README in vscode package to reflect the new CLI functionality. - Refactored root tsconfig.json to streamline project structure.
This commit is contained in:
24
.gitea/PULL_REQUEST_TEMPLATE.md
Normal file
24
.gitea/PULL_REQUEST_TEMPLATE.md
Normal file
@@ -0,0 +1,24 @@
|
||||
## Summary
|
||||
|
||||
Briefly describe what this PR changes and why.
|
||||
|
||||
## Package(s)
|
||||
|
||||
- [ ] `packages/chrome`
|
||||
- [ ] `packages/vscode`
|
||||
- [ ] `packages/cli`
|
||||
- [ ] `src/lib` (shared)
|
||||
- [ ] Docs / CI / repo meta
|
||||
|
||||
## Test plan
|
||||
|
||||
- [ ] `npm run chrome:typecheck` / `npm run chrome:test` (if Chrome or shared lib)
|
||||
- [ ] `npm run vscode:typecheck` / `npm run vscode:build` (if VS Code)
|
||||
- [ ] `npm run cli:typecheck` / `npm run cli:build` (if CLI)
|
||||
- [ ] Manual check (describe):
|
||||
|
||||
## Checklist
|
||||
|
||||
- [ ] No API keys, tokens, or personal data in the diff
|
||||
- [ ] Docs / README updated if user-facing behavior changed
|
||||
- [ ] Related issue linked (if any): #
|
||||
Reference in New Issue
Block a user