Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default action when no namespace given #2

Open
seb-cr opened this issue Sep 25, 2020 · 1 comment
Open

Default action when no namespace given #2

seb-cr opened this issue Sep 25, 2020 · 1 comment

Comments

@seb-cr
Copy link

seb-cr commented Sep 25, 2020

secrets-env with no arguments should get all secrets for whatever repo the current working directory is inside.

The only reason to be omitting arguments is to save typing when running interactively; build scripts can afford lots of arguments. I think showing the secrets for the current repo and stage is a sensible default.

This should not work outside a repo; attempting to do so should display an error.

It should also be possible to omit the namespace but provide a stage, in order to view secrets for the current repo but a different stage.

@dipasqualew
Copy link
Contributor

we can use the repo name as namespace default; but what happens for stage? Do we grab dev?

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

No branches or pull requests

2 participants