Skip to content

Commit

Permalink
➕ Add conan feature
Browse files Browse the repository at this point in the history
  • Loading branch information
bdsoha committed Jun 23, 2024
1 parent d39b450 commit 2b45f69
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion cmd/feature/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ var InstallCmd = &cobra.Command{
Short: "Install extra pre-configured features",
}

var conanCmd = &cobra.Command{
Use: "conan",
Short: "Install conan CLI and related tools",
Run: install("dagger"),
}

var daggerCmd = &cobra.Command{
Use: "dagger",
Short: "Install dagger.io CLI and SDK",
Expand Down Expand Up @@ -96,5 +102,12 @@ func install(feature string) func(*cobra.Command, []string) {
}

func init() {
InstallCmd.AddCommand(daggerCmd, dotnetCmd, gcloudCmd, jupyterCmd, phpCmd)
InstallCmd.AddCommand(
conanCmd,
daggerCmd,
dotnetCmd,
gcloudCmd,
jupyterCmd,
phpCmd,
)
}
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
var rootCmd = &cobra.Command{
Use: "ws-cli",
Short: "⚡ CLI companion to charge the workspace batteries",
Version: "v0.0.5",
Version: "v0.0.6",
Aliases: []string{"ws"},
}

Expand Down

0 comments on commit 2b45f69

Please sign in to comment.