Skip to content

Commit

Permalink
Merge pull request #357 from aziontech/fix-conflicts
Browse files Browse the repository at this point in the history
fix: remove duplicate commandas
  • Loading branch information
PatrickMenoti committed Apr 20, 2023
2 parents 81f677a + d148f8d commit 4d9e1ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pkg/cmd/device_groups/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ func NewCmd(f *cmdutil.Factory) *cobra.Command {
$ azioncli device_groups list -a 16736354321
$ azioncli device_groups list --application-id 16736354321
$ azioncli device_groups list --application-id 16736354321 --details
$ azioncli device_groups list --application-id 16736354321 --order_by "id"
$ azioncli device_groups list --application-id 16736354321 --page 1
$ azioncli device_groups list --application-id 16736354321 --page_size 5
$ azioncli device_groups list --application-id 16736354321 --sort "asc"
$ azioncli device_groups list --application-id 16736354321 --order_by "id"
$ azioncli device_groups list --application-id 16736354321 --page 1
$ azioncli device_groups list --application-id 16736354321 --page_size 5
$ azioncli device_groups list --application-id 16736354321 --sort "asc"
`),
RunE: func(cmd *cobra.Command, args []string) error {
var numberPage int64 = opts.Page
Expand Down
2 changes: 0 additions & 2 deletions pkg/cmd/root/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,10 @@ func NewRootCmd(f *cmdutil.Factory) *cobra.Command {
rootCmd.AddCommand(edge_functions.NewCmd(f))
rootCmd.AddCommand(edge_functions_instances.NewCmd(f))
rootCmd.AddCommand(edge_applications.NewCmd(f))
rootCmd.AddCommand(device_groups.NewCmd(f))
rootCmd.AddCommand(domains.NewCmd(f))
rootCmd.AddCommand(origins.NewCmd(f))
rootCmd.AddCommand(rules_engine.NewCmd(f))
rootCmd.AddCommand(cache_settings.NewCmd(f))
rootCmd.AddCommand(edge_functions_instances.NewCmd(f))
rootCmd.AddCommand(device_groups.NewCmd(f))
rootCmd.Flags().BoolP("help", "h", false, msg.RootHelpFlag)
return rootCmd
Expand Down

0 comments on commit 4d9e1ab

Please sign in to comment.