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

Move common options to cmd.go #1431

Merged
merged 1 commit into from
Jul 25, 2022
Merged

Move common options to cmd.go #1431

merged 1 commit into from
Jul 25, 2022

Conversation

paskal
Copy link
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
backend/app/cmd/cmd.go Outdated Show resolved Hide resolved
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.
@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