feat: interactive TLS configure, shell autocomplete, and auth flags#87
Open
Gajesh2007 wants to merge 2 commits intomasterfrom
Open
feat: interactive TLS configure, shell autocomplete, and auth flags#87Gajesh2007 wants to merge 2 commits intomasterfrom
Gajesh2007 wants to merge 2 commits intomasterfrom
Conversation
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.
4e6446c to
df48cd2
Compare
auth login: --private-key and --force flags for non-interactive use auth migrate: --environment, --delete-legacy, and --force flags
Member
Author
|
@claude review this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ecloud compute app configure tlsnow prompts for domain, app port, ACME staging, and Caddy logs, then appends values directly to.envand placeholders to.env.example. Supports both interactive and flag-based (--domain,--app-port,--acme-staging,--caddy-logs) usage. Removes the intermediate.env.example.tlsfile.@oclif/plugin-autocompletesoecloud <TAB>completes commands and flags instead of showing file completions.--private-keyand--forcefor non-interactive key storage (CI/scripting).--environment,--delete-legacy, and--forcefor non-interactive legacy key migration.Test plan
ecloud compute app configure tlsand verify interactive promptsecloud compute app configure tls --domain test.example.comand verify non-interactive mode.envis appended with actual values and.env.examplegets commented placeholdersecloud autocomplete zshand verify setup instructionsecloud <TAB>shows commands instead of filesecloud auth login --helpand verify--private-keyand--forceflagsecloud auth migrate --helpand verify--environment,--delete-legacy,--forceflags