Skip to content

feat(cli): add init, run, skill, and config commands (Phase 4.1)#10

Open
bkataru wants to merge 1 commit intomasterfrom
feat/cli-phase-4
Open

feat(cli): add init, run, skill, and config commands (Phase 4.1)#10
bkataru wants to merge 1 commit intomasterfrom
feat/cli-phase-4

Conversation

@bkataru
Copy link
Member

@bkataru bkataru commented Feb 3, 2026

Implements remaining Phase 4 CLI commands.

New Commands: init, run, skill (list/show/run/validate/export), config (show/get/set/add-server/servers)

Features: --workspace flag, --dry-run mode, skill scopes, export formats, server types

Testing: 26 new unit tests, all 32 tests green

New commands:
- thulp init: Initialize .thulp/ workspace structure
- thulp run <tool>: Execute tools with key=value or --json args
- thulp skill list/show/run/validate/export: Full skill workflow management
- thulp config show/get/set/add-server/servers: Workspace configuration

Features:
- --workspace / -w global flag for workspace directory
- --dry-run mode for run and skill run commands
- --timeout configuration
- Skill scopes: global (~/.thulp/skills), workspace, project
- Export formats: shell, json, yaml
- Server types: stdio (local) and http (remote)

Testing:
- 26 unit tests for CLI parsing
- 6 integration tests passing
- All 32 tests green

Deps:
- Added dirs crate for home directory resolution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant