Skip to content
Open

demo #331

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .yourbase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,3 @@ ci:
builds:
- name: test_build
build_target: default
when: branch IS 'main' OR action IS 'pull_request'

- name: test
build_target: test
when: branch IS 'main' OR action IS 'pull_request'

2 changes: 1 addition & 1 deletion cmd/yb/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func newRunCmd() *cobra.Command {
envFlagsVar(c.Flags(), &b.env)
netrcFlagVar(c.Flags(), &b.netrcFiles)
executionModeVar(c.Flags(), &b.mode)
c.Flags().StringVarP(&b.target, "target", "t", yb.DefaultTarget, "The target to run the command in")
c.Flags().StringVarP(&b.target, "target", "t", yb.DefaultTarget, "The target to run the command in!")
c.RegisterFlagCompletionFunc("target", func(cc *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
return autocompleteTargetName(toComplete)
})
Expand Down