Skip to content

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

Merged
Gajesh2007 merged 5 commits intomasterfrom
feat/interactive-tls-and-autocomplete
Apr 3, 2026
Merged

feat: interactive TLS configure, shell autocomplete, and auth flags#87
Gajesh2007 merged 5 commits intomasterfrom
feat/interactive-tls-and-autocomplete

Conversation

@Gajesh2007
Copy link
Copy Markdown
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
Copy Markdown
Member Author

@claude review this

Copy link
Copy Markdown
Contributor

@mcclurejt mcclurejt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor stuff, re-request when fixed and it's good to go

Gajesh2007 and others added 2 commits April 3, 2026 14:32
…to compute commands

Restore the pnpm.overrides for handlebars (CVE fix) that was accidentally
dropped. Add --force flag to deploy, upgrade, start, and stop commands to
skip mainnet confirmation prompts for CI/scripting use.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Gajesh2007
Copy link
Copy Markdown
Member Author

done @mcclurejt

@Gajesh2007 Gajesh2007 requested a review from mcclurejt April 3, 2026 21:34
@Gajesh2007 Gajesh2007 merged commit 77489b0 into master Apr 3, 2026
3 checks passed
@Gajesh2007 Gajesh2007 deleted the feat/interactive-tls-and-autocomplete branch April 3, 2026 21:44
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.

2 participants