-
- Downloads
feat: add --ignore-paths flag to flux create source (git|bucket)
A new --ignore-paths flag is added to following commands:
flux create source git --ignore-paths ...
flux create source bucket --ignore-paths ...
A StringSliceVar is used which supports specifying the flag multiple
times to populate a list or either a comma seperated string value
A unit test with a golden file is added to validate the flag
Signed-off-by:
Tarun Gupta Akirala <takirala@users.noreply.github.com>
Showing
- cmd/flux/create_source_bucket.go 20 additions, 10 deletionscmd/flux/create_source_bucket.go
- cmd/flux/create_source_git.go 10 additions, 0 deletionscmd/flux/create_source_git.go
- cmd/flux/create_source_git_test.go 25 additions, 0 deletionscmd/flux/create_source_git_test.go
- cmd/flux/testdata/create_source_git/export.golden 15 additions, 0 deletionscmd/flux/testdata/create_source_git/export.golden
Loading
Please register or sign in to comment