Skip to content

feat: interactive TLS configure, shell autocomplete, and auth flags#87

Open
Gajesh2007 wants to merge 2 commits intomasterfrom
feat/interactive-tls-and-autocomplete
Open

feat: interactive TLS configure, shell autocomplete, and auth flags#87
Gajesh2007 wants to merge 2 commits intomasterfrom
feat/interactive-tls-and-autocomplete

Conversation

@Gajesh2007
Copy link
Member

@Gajesh2007 Gajesh2007 commented Feb 21, 2026

Summary

  • Interactive TLS configure: ecloud compute app configure tls now prompts for domain, app port, ACME staging, and Caddy logs, then appends values directly to .env and placeholders to .env.example. Supports both interactive and flag-based (--domain, --app-port, --acme-staging, --caddy-logs) usage. Removes the intermediate .env.example.tls file.
  • Shell autocomplete: Add @oclif/plugin-autocomplete so ecloud <TAB> completes commands and flags instead of showing file completions.
  • Auth login flags: --private-key and --force for non-interactive key storage (CI/scripting).
  • Auth migrate flags: --environment, --delete-legacy, and --force for non-interactive legacy key migration.

Test plan

  • Run ecloud compute app configure tls and verify interactive prompts
  • Run ecloud compute app configure tls --domain test.example.com and verify non-interactive mode
  • Verify .env is appended with actual values and .env.example gets commented placeholders
  • Run configure tls again — verify it detects existing config and skips
  • Run ecloud autocomplete zsh and verify setup instructions
  • After sourcing, verify ecloud <TAB> shows commands instead of files
  • Run ecloud auth login --help and verify --private-key and --force flags
  • Run ecloud auth migrate --help and verify --environment, --delete-legacy, --force flags

Make `ecloud compute app configure tls` interactive — prompts for
domain, app port, ACME staging, and Caddy logs, then appends values
directly to .env and placeholders to .env.example. Removes the
intermediate .env.example.tls file.

Add @oclif/plugin-autocomplete so `ecloud <TAB>` completes commands
and flags instead of showing file completions.
@Gajesh2007 Gajesh2007 force-pushed the feat/interactive-tls-and-autocomplete branch from 4e6446c to df48cd2 Compare February 21, 2026 02:44
auth login: --private-key and --force flags for non-interactive use
auth migrate: --environment, --delete-legacy, and --force flags
@Gajesh2007 Gajesh2007 changed the title feat: interactive TLS configure and shell autocomplete feat: interactive TLS configure, shell autocomplete, and auth flags Feb 21, 2026
@Gajesh2007
Copy link
Member Author

@claude review this

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