feat(project): add update, delete, and --json support (#127)#148
Merged
schpet merged 5 commits intoschpet:mainfrom Mar 5, 2026
Merged
feat(project): add update, delete, and --json support (#127)#148schpet merged 5 commits intoschpet:mainfrom
schpet merged 5 commits intoschpet:mainfrom
Conversation
- 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.
Owner
|
@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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enables automation use cases: create, rename, delete, list project IDs programmatically without raw GraphQL API calls.