-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Milestone
Description
It would be nice to exclude files from uploading using glob patterns or just path to file:
files:
default:
push:
exclude:
- lang/foo/*.json
"translations/**/*.json":
push:
type: "json"
# or use `exclude` here
exclude:
- lang/foo/*.jsonIf have lang/foo/en-US.json (or other files under lang/foo/*) then they will excluded from uploading:
smartling.ymlis used:
smartling-cli files push
- override via arguments:
smartling-cli files push --exclude=lang/foo/*.json
EXAMPLE:
https://github.com/Fitbit/smartling/blob/master/README.md (please see Files.PathExclude option)
https://github.com/Fitbit/smartling/blob/master/model/project_resource.go#L77
https://github.com/Fitbit/smartling/blob/master/model/project_resource_test.go#L39
Metadata
Metadata
Assignees
Labels
No labels