Skip to content

Commit

Permalink
Remove old comments that my just muddy the water. Created Issue #209
Browse files Browse the repository at this point in the history
…to track future work.
  • Loading branch information
bhamail committed Jan 11, 2021
1 parent 2557496 commit 1882f98
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions internal/cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,32 +26,6 @@ func newUpdateCommand() *cobra.Command {
},
}

/* updateCmd.AddCommand(&cobra.Command{
Use: "check",
Hidden: true,
Short: "Check if there are any updates available",
RunE: func(_ *cobra.Command, _ []string) error {
return updateCLI("", false)
},
})
*/
/* updateCmd.AddCommand(&cobra.Command{
Use: "install",
Hidden: true,
Short: "Update the tool to the latest version",
PersistentPreRun: func(_ *cobra.Command, _ []string) {
opts.cfg.SkipUpdateCheck = true
},
PreRun: func(cmd *cobra.Command, args []string) {
opts.args = args
},
RunE: func(_ *cobra.Command, _ []string) error {
return updateCLI(opts)
},
})
*/
//updateCmd.PersistentFlags().BoolVar(&opts.dryRun, "check", false, "Check if there are any updates available without installing")

return updateCmd
}

Expand Down

0 comments on commit 1882f98

Please sign in to comment.