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

deploy: work with fewer arguments #3

Open
joshk0 opened this issue May 27, 2020 · 0 comments
Open

deploy: work with fewer arguments #3

joshk0 opened this issue May 27, 2020 · 0 comments

Comments

@joshk0
Copy link
Contributor

joshk0 commented May 27, 2020

Originally posted by @rupertchen on pre-OSS repository

Context

As a user of KDT, whenever I want to run a deploy I have to pass as command line args: the build, context, artifact, etc., am I forgetting something?Basically, there are too many flags I need to pass to make a deploy, and most of the time I am using the same flags for a specific deploy (i.e. normal deploy to prod always uses the same 4/5 flags, why do I have to specify them every time).What I would like is some way to specify my default flags for a deployment (ex. in some yaml) so that I can say something like

kdt deploy production

and that would be the equivalent of passing all the flags I normally use to specify a production deploy.

Request

I should still be able to pass command line flags together with this new system, and command line flags would override the defaults.

Acceptance Criteria

enable new/current users to use kdt without having to discover somehow what all the required flags are.

Hints

  • interactive mode? That asks for required flags?
  • Add docs that tell you exactly what you need to run commands?
  • man-page like docs for kdt. At least for kdt deploy
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant