-
Notifications
You must be signed in to change notification settings - Fork 1
feat: adding a --verbose flag to shipthis game ship
#84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: adding a --verbose flag to shipthis game ship
#84
Conversation
|
Documentation page for the ship command will need updating too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
|
Copilot is not having a good day |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a --verbose flag to the shipthis game ship command to allow users to control logging verbosity during the ship process.
- Added verbose flag to ship command and type definitions
- Modified logging behavior to only show detailed messages when verbose mode is enabled
- Updated documentation to include the new verbose flag
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/commands/game/ship.tsx | Adds verbose flag definition and example usage |
| src/types/index.ts | Adds verbose property to ShipGameFlags type |
| src/utils/query/useShip.ts | Implements verbose logging logic and passes flag to API |
| src/api/index.ts | Adds verbose property to StartJobsOptions type |
| docs/game/ship.md | Updates documentation with verbose flag usage |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| }) | ||
|
|
||
| const tmpZipFile = `${process.cwd()}/shipthis-${uuid()}.zip` | ||
| log(`Creating zip file: ${tmpZipFile}`) |
Copilot
AI
Aug 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two log statements are not controlled by the verbose flag, unlike other similar logging statements. Consider making these consistent by applying the verbose condition: verbose && log(...) to maintain uniform logging behavior.
| log(`Creating zip file: ${tmpZipFile}`) | |
| verbose && log(`Creating zip file: ${tmpZipFile}`) |
--verbose flag to shipthis game ship--verbose flag to shipthis game ship
Description
This is to resolve #83
What's changed
--verboseflag to the ship commandStartJobsOptionsuseShipshipthis game shipto include the flag