Skip to content

Commit

Permalink
🐛 fix root cmd name (#3018)
Browse files Browse the repository at this point in the history
* 🐛 fixes the root cmd name

* 🧹 update cli tests
  • Loading branch information
chris-rock authored Jan 12, 2024
1 parent 061256f commit ed5ecf0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
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

0 comments on commit ed5ecf0

Please sign in to comment.