Skip to content

Commit

Permalink
Add Bundle exec command
Browse files Browse the repository at this point in the history
  • Loading branch information
derekblank committed Oct 12, 2023
1 parent e00416d commit 3e4d3cc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cli/pkg/exec/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,12 @@ func NpmRun(dir string, verbose bool, args ...string) error {
return exc(verbose, dir, "npm", append([]string{"run"}, args...)...)
}

func BundleInstall(dir string, verbose bool) error {
return exc(verbose, dir, "bundle", "install")
func Bundle(dir string, verbose bool, args ...string) error {
return exc(verbose, dir, "bundle", args...)
}

func BundleInstall(dir string, verbose bool, args ...string) error {
return Bundle(dir, true, append([]string{"install"}, args...)...)
}

func exc(verbose bool, dir, cmd string, args ...string) error {
Expand Down

0 comments on commit 3e4d3cc

Please sign in to comment.