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

Allow token to be specified via environment variable #46

Closed
bittner opened this issue Apr 21, 2020 · 0 comments · Fixed by #47
Closed

Allow token to be specified via environment variable #46

bittner opened this issue Apr 21, 2020 · 0 comments · Fixed by #47
Labels
enhancement New feature or request

Comments

@bittner
Copy link
Contributor

bittner commented Apr 21, 2020

Currently, we have to specify the --token value as a CLI option for the gitlab command. That's not nice if we want to do, say, screen sharing in a video conference session.

It would be helpful if it we possible to specify the token only once by exporting an environment variable, e.g.

$ export CONCIERGE_GITLAB_TOKEN=jflsalgaslgkh
$ concierge-cli gitlab groups example-user
...

Similar for the --uri option, probably. This could be covered by CONCIERGE_GITLAB_URI, so a user wouldn't need to create a configuration file.

@bittner bittner added the enhancement New feature or request label Apr 21, 2020
bittner added a commit that referenced this issue Apr 21, 2020
bittner added a commit that referenced this issue Apr 21, 2020
@zugao zugao closed this as completed in #47 Apr 22, 2020
zugao pushed a commit that referenced this issue Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant