Skip to content

Generate files from structured data #144

Description

@mfburnett

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions