ec init policies

Initialize a directory with minimal EC scaffolding== Synopsis

This command creates the necessary files for a minimal EC policy setup in the specified destination directory.

More information about authoring policies is available in the EC documentation:

ec init policies --dest-dir <directory-url> [flags]


Initialize the "my-policy" directory with minimal EC policy scaffolding:

ec init policies --dest-dir my-policy


-d, --dest-dir

Directory to use when creating EC policy scaffolding. If not specified stdout will be used.

-h, --help

help for policies (Default: false)

Options inherited from parent commands


same as verbose but also show function names and line numbers (Default: false)


path to the Kubernetes config file to use


less verbose output (Default: false)


max overall execution duration (Default: 5m0s)


enable trace logging (Default: false)


more verbose output (Default: false)