Skip to content

add env shell command#18

Merged
joerucci merged 1 commit into
mainfrom
add-env-shell
Jul 2, 2026
Merged

add env shell command#18
joerucci merged 1 commit into
mainfrom
add-env-shell

Conversation

@joerucci

@joerucci joerucci commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds ghostable env shell --env <ENV> as a first-class way to open a child shell with decrypted Ghostable environment values injected, without writing a .env file.

Details

  • Adds env shell command routing, help text, and shell resolution via $SHELL or COMSPEC.
  • Reuses the existing env-run environment construction, --only, --inherit / --no-inherit, and --strict behavior.
  • Keeps production-like environment access behind the same local confirmation path as env run.
  • Updates Laravel run suggestions to use php artisan serve --no-reload so injected values survive Laravel's serve process handoff.
  • Updates README command and protected-access documentation.

Validation

  • go test ./internal/app -run 'EnvRun|EnvShell|EnvHelp|ProtectedProductionEnvShell'
  • go test ./...

@joerucci joerucci changed the title [codex] add env shell command add env shell command Jul 2, 2026
@joerucci
joerucci marked this pull request as ready for review July 2, 2026 16:19
@joerucci
joerucci merged commit c677431 into main Jul 2, 2026
2 checks passed
@joerucci
joerucci deleted the add-env-shell branch July 2, 2026 16:20
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.

1 participant