Skip to content

feat(project): add update, delete, and --json support (#127)#148

Merged
schpet merged 5 commits intoschpet:mainfrom
chronosis:main
Mar 5, 2026
Merged

feat(project): add update, delete, and --json support (#127)#148
schpet merged 5 commits intoschpet:mainfrom
chronosis:main

Conversation

@chronosis
Copy link
Copy Markdown
Contributor

  • Add 'project update' subcommand with --name, --description, --status, --lead, --start-date, --target-date, --team options
  • Add 'project delete' subcommand with --force to skip confirmation
  • Add --json to 'project list' for machine-readable output with UUIDs
  • Add --json to 'project create' to return project id/slugId/name/url

Enables automation use cases: create, rename, delete, list project IDs programmatically without raw GraphQL API calls.

chronosis and others added 5 commits February 19, 2026 13:47
- Add 'project update' subcommand with --name, --description, --status,
  --lead, --start-date, --target-date, --team options
- Add 'project delete' subcommand with --force to skip confirmation
- Add --json to 'project list' for machine-readable output with UUIDs
- Add --json to 'project create' to return project id/slugId/name/url

Enables automation use cases: create, rename, delete, list project IDs
programmatically without raw GraphQL API calls.
CI (Ubuntu, NO_COLOR) produces plain text while local macOS generated
ANSI escape codes. Align project snapshots with plain text format.
@schpet schpet merged commit 69e59ee into schpet:main Mar 5, 2026
7 checks passed
@schpet
Copy link
Copy Markdown
Owner

schpet commented Mar 5, 2026

@chronosis appreciate this! thanks for keeping it up-to date with main too 🤙🏻

schpetbot added a commit that referenced this pull request Mar 5, 2026
Validation errors thrown before the `try` block in `project update` were
bypassing `handleError`, resulting in raw stack traces instead of clean
`✗` error messages.

Moves the no-options check, `--start-date` format check, and
`--target-date` format check inside the `try` block so they display
consistently with other error messages.

Found during manual QA of #148.

Co-authored-by: Peter Schilling <code@schpet.com>
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.

2 participants