Skip to content

Commit e466fe8

Browse files
document config via env in help msg
1 parent 5306f17 commit e466fe8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

cmd/pushrm.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,19 @@ var pushrmCmd = &cobra.Command{
161161
the future that support READMEs on the tag level.
162162
163163
164+
Supported environment variables
165+
===============================
166+
167+
DOCKER_USER, DOCKER_PASS, DOCKER_APIKEY, APIKEY__<SERVER>_<DOMAIN>,
168+
PUSHRM_PROVIDER, PUSHRM_SHORT, PUSHRM_FILE, PUSHRM_DEBUG, PUSHRM_CONFIG,
169+
PUSHRM_TARGET
170+
171+
Commandline parameters take precedence over environment variables.
172+
Login environment variables take precedence over the local credentials
173+
store.
174+
175+
176+
164177
`,
165178
RunE: func(cmd *cobra.Command, args []string) error {
166179
if err := run(args); err != nil {

0 commit comments

Comments
 (0)