Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate files from structured data #144

Open
mfburnett opened this issue Jun 7, 2016 · 0 comments
Open

Generate files from structured data #144

mfburnett opened this issue Jun 7, 2016 · 0 comments

Comments

@mfburnett
Copy link
Member

mfburnett commented Jun 7, 2016

Proposed command is spread generate [-t --type <JSON | YAML>] [<tree-ish>] [--] [<object-paths>…​]

spread generate
This command would generate files from structured data (i.e. Kubernetes objects). The naming convention will take the form of the directory structure with dashes instead of slashes. For example, with Kubernetes, it would be apiVersion-namespace-objectType-name.fileType, i.e. v2-default-rc-webapp.yaml.

-t --type
Specify the type of file - we'll just support JSON or YAML in the beginning. YAML is the default format if neither is specified.


Specify the tree to create files from. If not specified, the index will be used.

[…​]
Specify the object path. If not specified, files for all objects will be generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant