Skip to content

Commit

Permalink
add generic worker for non-request based commands
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed May 15, 2024
1 parent 566a81e commit 2fa1d95
Show file tree
Hide file tree
Showing 10 changed files with 970 additions and 46 deletions.
3 changes: 3 additions & 0 deletions pkg/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,9 @@ func Initialize() (*root.CmdRoot, error) {

rootCmd := root.NewCmdRoot(cmdFactory, buildVersion, "")

// Add reference to root command
cmdFactory.SetCommand(rootCmd.Command)

tableOptions := &console.TableOptions{
MinColumnWidth: configHandler.ViewColumnMinWidth(),
MaxColumnWidth: configHandler.ViewColumnMaxWidth(),
Expand Down
Loading

0 comments on commit 2fa1d95

Please sign in to comment.