Switch automatically to interactive mode if one of the required flag is not set

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Guillaume Lours 2020-05-11 16:20:50 +02:00 committed by Nicolas De Loof
parent 51e04a4702
commit 0864513bfe
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E
3 changed files with 1 additions and 33 deletions

View file

@ -1,13 +0,0 @@
required flag(s) ["profile" "cluster" "region"] not set
Usage: docker ecs setup
Options:
-k, --aws-key-id string AWS Access Key ID
-s, --aws-secret-key string AWS Secret Access Key
-c, --cluster string ECS cluster
--interactive Interactively setup Context and Credentials
-n, --name string Context Name (default "aws")
-p, --profile string AWS Profile
-r, --region string AWS region