Skip to content

Move common options to cmd.go#1431

Merged
umputun merged 1 commit intomasterfrom
paskal/clarify_commands
Jul 25, 2022
Merged

Move common options to cmd.go#1431
umputun merged 1 commit intomasterfrom
paskal/clarify_commands

Conversation

@paskal
Copy link
Copy Markdown
Collaborator

@paskal paskal commented Jul 24, 2022

Timeout, admin password and site id are set in many commands, and we need to take care of synchronising the descriptions and flags between them.

This change moves these standard options to cmd.go importing them in the same manner CommonOpts imported by all commands already.

@paskal paskal added the backend label Jul 24, 2022
@paskal paskal requested a review from umputun as a code owner July 24, 2022 14:16
@paskal paskal added this to the v1.10.2 milestone Jul 24, 2022
Comment thread backend/app/cmd/cmd.go Outdated
Timeout, admin password and site id are set in many commands,
and we need to take care of synchronising the descriptions
and flags between them.

This change moves these standard options to cmd.go importing them
in the same manner CommonOpts imported by all commands already.
@paskal paskal force-pushed the paskal/clarify_commands branch from 1b7c982 to e372c85 Compare July 25, 2022 17:37
@umputun umputun merged commit f104a6e into master Jul 25, 2022
@umputun umputun deleted the paskal/clarify_commands branch July 25, 2022 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants