Skip to content

feat: add version checking to CLI #2643

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

Merged
merged 18 commits into from
Jun 29, 2022
Prev Previous commit
Next Next commit
stuff
  • Loading branch information
sreya committed Jun 24, 2022
commit a9b4796c76bf4cd957a0cfbc96186814ceaa0448
3 changes: 3 additions & 0 deletions cli/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ func Root() *cobra.Command {
SilenceUsage: true,
Long: `Coder — A tool for provisioning self-hosted development environments.
`,
PersistentPreRun: func(cmd *cobra.Command, _ []string) {

},
Example: ` Start a Coder server.
` + cliui.Styles.Code.Render("$ coder server") + `

Expand Down