Skip to content

Hide unimplemented command, centralize DB types, improve null safety#111

Open
JoshSalway wants to merge 1 commit intolaravel:masterfrom
JoshSalway:fix/improvements
Open

Hide unimplemented command, centralize DB types, improve null safety#111
JoshSalway wants to merge 1 commit intolaravel:masterfrom
JoshSalway:fix/improvements

Conversation

@JoshSalway
Copy link

@JoshSalway JoshSalway commented Mar 17, 2026

Fixes #122, #123, #124

Summary

Test plan

  • Verify daemon:status no longer appears in forge list output
  • Verify all database commands use consistent type lists
  • Verify passing an invalid site/server name shows helpful error message instead of API error

🤖 Generated with Claude Code

…, add null safety

- Hide DaemonStatusCommand from help since it is not implemented (fixes #12)
- Add shared database type constants and helper methods to InteractsWithDatabase trait,
  and use them across DatabaseLogsCommand, DatabaseStatusCommand, DatabaseShellCommand,
  and DatabaseRestartCommand (fixes #13)
- Add proper null validation in askForSite and askForServer to abort with clear
  error messages instead of passing invalid name strings as IDs (fixes #14)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.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.

DaemonStatusCommand shown in help output but immediately aborts

1 participant