Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=v0.2.4
VERSION=v0.2.5

OUT_DIR=dist
YEAR?=$(shell date +"%Y")
Expand Down
4 changes: 2 additions & 2 deletions cmd/commands/git-source.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ func newGitSourceCreateCommand() *cobra.Command {
cmd.Flags().BoolVar(&createRepo, "create-repo", false, "If true, will create the specified git-source repo in case it doesn't already exist")
cmd.Flags().StringVar(&include, "include", "", "files to include. can be either filenames or a glob")
cmd.Flags().StringVar(&exclude, "exclude", "", "files to exclude. can be either filenames or a glob")
cmd.Flags().StringVar(&repo, "git-source-repo", "", "Repository URL [%sGIT_SOURCE_GIT_REPO]")
cmd.Flags().StringVar(&repo, "git-src-repo", "", "Repository URL [%sGIT_SOURCE_GIT_REPO]")

util.Die(viper.BindEnv("git-source-repo", "GIT_SOURCE_GIT_REPO"))
util.Die(viper.BindEnv("git-src-repo", "GIT_SOURCE_GIT_REPO"))

return cmd
}
Expand Down
10 changes: 5 additions & 5 deletions docs/commands/cli-v2_git-source_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ cli-v2 git-source create RUNTIME_NAME GITSOURCE_NAME [flags]
### Options

```
--create-repo If true, will create the specified git-source repo in case it doesn't already exist
--exclude string files to exclude. can be either filenames or a glob
--git-source-repo string Repository URL [%sGIT_SOURCE_GIT_REPO]
-h, --help help for create
--include string files to include. can be either filenames or a glob
--create-repo If true, will create the specified git-source repo in case it doesn't already exist
--exclude string files to exclude. can be either filenames or a glob
--git-src-repo string Repository URL [%sGIT_SOURCE_GIT_REPO]
-h, --help help for create
--include string files to include. can be either filenames or a glob
```

### Options inherited from parent commands
Expand Down