I think it would also be nice to have a
"password command" option wherein a command would be run every
time it needs the token. For instance:
That way there isn't a token hanging around in the environment.
that is exactly the idea behind the environment variable, the MR
with the manpage entry and prompt regarding the token just wasnt
You can create an alias for pkgctl like the following in your bash-
or zshrc, just note the quoting:
$ alias pkgctl='DEVTOOLS_GITLAB_TOKEN="$(command to obtain token)"
So the command is evaluated each time when pkgctl is invoked on the
shell and the token does not hang around in the environment :)
If you want to, you can also have a look at this configuration in my