Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

auto-connect as subcommand #882

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

auto-connect as subcommand #882

wants to merge 1 commit into from

Conversation

ariefrahmansyah
Copy link

Why?
If we specify --auto-connect flag from draft up, we will be able to connect, but we will not reuse environment flag from command-line. More than that, if we specify draft connect flags (dry-run, override-port, container, etc) in draft up --auto-connect, the command line will no be able to detect those flag.

> draft up --auto-connect --dry-run
Error: unknown flag: --dry-run

See issue #879.

How?
Use auto-connect as the subcommand of draft up.

Usage:

> draft up [up flags] auto-connect [auto-connect flags]

@msftclas
Copy link

msftclas commented Oct 18, 2018

CLA assistant check
All CLA requirements met.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants