Skip to content

feat: add command aliases and cloud use context command#80

Open
JoshSalway wants to merge 1 commit intolaravel:mainfrom
JoshSalway:feature/aliases-and-use-command
Open

feat: add command aliases and cloud use context command#80
JoshSalway wants to merge 1 commit intolaravel:mainfrom
JoshSalway:feature/aliases-and-use-command

Conversation

@JoshSalway
Copy link

Summary

All 39 tests pass, PHPStan reports no errors.

Closes #77, closes #79

Aliases

Alias Resolves to
logs environment:logs
vars environment:variables
envs environment:list
apps application:list
status environment:get

cloud use usage

cloud use my-app production   # Set context
cloud use                     # Display current context
cloud use --clear             # Clear saved context

Test plan

  • Verify aliases resolve to correct command classes
  • Verify cloud use displays context when called without args
  • Verify cloud use --clear removes context from LocalConfig
  • PHPStan passes with no errors
  • All 39 Pest tests pass

🤖 Generated with Claude Code

Add shortcut aliases for common commands (logs, vars, envs, apps, status)
using Laravel Zero's native $aliases support, and introduce a `cloud use`
command for setting/displaying/clearing application and environment context
via LocalConfig.

Closes laravel#77, closes laravel#79

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.

Feature: cloud use command for optional context persistence Feature: command aliases for frequently-used commands

1 participant