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

create groups for mgradm subcommands #295

Merged
merged 4 commits into from
May 15, 2024

Conversation

mbussolotto
Copy link
Member

@mbussolotto mbussolotto commented May 6, 2024

What does this PR change?

create groups for mgradm subcommands. This is how it looks:

sumacontainer:~ # ./mgradm --help
Tool to help administering Uyuni servers in containers

Usage:
  mgradm [command]

Server Deployment:
  inspect      Inspect
  install      Install a new server
  migrate      Migrate a remote server to containers
  uninstall    Uninstall a server
  upgrade      Upgrade local server

Server Management:
  hub          Hub management
  restart      Restart the server
  start        Start the server
  status       Get the server status
  stop         Stop the server

Administrator tools:
  distribution Distributions management
  gpg          Manage GPG keys for 3rd party repositories
  support      Commands for support operations

Additional Commands:
  help         Help about any command

Flags:
  -c, --config string     configuration file path
  -h, --help              help for mgradm
      --logLevel string   application log level(trace|debug|info|warn|error|fatal|panic)
  -v, --version           version for mgradm

Additional help topics:
  mgradm config       Help on configuration file and environment variables

Use "mgradm [command] --help" for more information about a command.

Test coverage

  • Unit tests were added

  • DONE

Links

Issue(s): #274

  • DONE

Changelogs

Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository

If you don't need a changelog check, please mark this checkbox:

  • No changelog needed

If you uncheck the checkbox after the PR is created, you will need to re-run changelog_test (see below)

Before you merge

Check How to branch and merge properly!

@mbussolotto mbussolotto changed the title Group create groups for mgradm subcommands May 6, 2024
@mbussolotto mbussolotto linked an issue May 6, 2024 that may be closed by this pull request
@mbussolotto mbussolotto requested a review from cbosdo May 6, 2024 13:46
mgradm/cmd/cmd.go Outdated Show resolved Hide resolved
mgradm/cmd/cmd.go Outdated Show resolved Hide resolved
mgradm/cmd/cmd.go Outdated Show resolved Hide resolved
check_localizable Outdated Show resolved Hide resolved
mbussolotto and others added 4 commits May 8, 2024 09:14
Co-authored-by: Cedric Bosdonnat <cbosdonnat@suse.com>
Co-authored-by: Cedric Bosdonnat <cbosdonnat@suse.com>
@deneb-alpha deneb-alpha merged commit bc54945 into uyuni-project:main May 15, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Group mgradm commands
3 participants