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

🐛 fix root cmd name #3018

Merged
merged 2 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cli/providers/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ func setDefaultConnector(provider *plugin.Provider, connector *plugin.Connector,

log.Info().Msg("no provider specified, defaulting to local. Use --help to see all providers.")
}
cmd.Command.Short = cmd.Action + connector.Short

setConnector(provider, connector, cmd.Run, cmd.Command)
}
Expand Down
8 changes: 4 additions & 4 deletions test/cli/testdata/cnquery.ct
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Available Commands:
login Register with Mondoo Platform.
logout Log out from Mondoo Platform.
providers Providers add connectivity to all assets.
run Run a query with your local system
sbom Collect a software bill of materials (SBOM) for your local system
scan Scan your local system
shell Interactive shell with your local system
run Run an MQL query.
sbom Experimental: Generate a software bill of materials (SBOM) for a given asset.
scan Scan assets with one or more query packs.
shell Interactive query shell for MQL.
status Verify access to Mondoo Platform.
vault Manage vault environments.
version Display the cnquery version.
Expand Down