Commit Graph

8 Commits

Author SHA1 Message Date
zhi
a01e602118 Align role commands with current backend API 2026-03-21 15:06:57 +00:00
zhi
57af1512d1 feat: implement role, permission, project, milestone, and task command groups
- Add role commands: list, get, create, update, delete, set/add/remove-permissions
- Add permission list command
- Add project commands: list, get, create, update, delete, members, add/remove-member
- Add milestone commands: list, get, create, update, delete, progress
- Add task commands: list, get, create, update, transition, take, delete, search
- Wire all new command groups into main.go dispatcher
- All commands support --json output mode and --token manual auth
- Passes go build and go vet cleanly
2026-03-21 14:50:43 +00:00
zhi
69287d5a49 Add permission-aware help surface 2026-03-21 14:37:42 +00:00
zhi
25114aa17c feat: implement user commands (list, get, create, update, activate, deactivate, delete)
- Add internal/commands/user.go with full user CRUD implementation
- Wire user subcommands in main.go dispatch
- Mark user subcommands as Permitted: true
- Support both padded-cell and manual mode for all user commands
- user create uses account-manager token flow per plan
2026-03-21 14:22:19 +00:00
zhi
f18eb366eb Implement group and leaf help stubs 2026-03-21 14:05:56 +00:00
zhi
7d3cff7d95 feat: implement core CLI packages and Phase 3 commands
- config: resolve binary dir, load/save .hf-config.json
- mode: detect padded-cell vs manual mode via pass_mgr
- client: HTTP client wrapper with auth header support
- passmgr: pass_mgr integration (get-secret, set, generate)
- output: human-readable + JSON output formatting with tables
- help: help and help-brief renderer for groups/commands
- commands: version, health, config (--url, --acc-mgr-token, show)
- auth: token resolution helper (padded-cell auto / manual explicit)
- main: command dispatcher with --json global flag support
- README: updated with current package layout and status
2026-03-21 13:50:29 +00:00
zhi
cb0b7669b3 feat: scaffold Go-based hf CLI 2026-03-21 13:34:41 +00:00
zhi
ddaea1c15b chore: initialize HarborForge.Cli repository 2026-03-21 07:31:18 +00:00