Files
kustomize/cmd/config/docs/commands/source.md
Phillip Wittrock 701c217791 Refactor kustomize config command structure
- Create cfg, fn, live parent commands
2020-06-06 08:50:41 -07:00

607 B

source

[Alpha] Implement a Source by reading a local directory.

Synopsis

[Alpha] Implement a Source by reading a local directory.

kustomize fn source DIR...

DIR: One or more paths to local directories. Contents from directories will be concatenated. If no directories are provided, source will read from stdin as if it were a single file.

source emits configuration to act as input to a function

Examples

# emity configuration directory as input source to a function
kustomize fn source DIR/

kustomize fn source DIR/ | your-function | kustomize fn sink DIR/