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

CLI - manifest command #1146

Closed
pileks opened this issue Aug 16, 2022 · 1 comment
Closed

CLI - manifest command #1146

pileks opened this issue Aug 16, 2022 · 1 comment
Assignees
Milestone

Comments

@pileks
Copy link
Contributor

pileks commented Aug 16, 2022

Add a polywrap manifest command/set of commands within the CLI.

polywrap manifest schema

  • should print out the schema for the polywrap manifest file
    • should print out the schema for the current version if a manifest file already exists in the working directory?
    • should print out latest schema if no manifest file exists?

polywrap manifest migrate

  • should migrate the current manifest file to the latest version

Partly related to #202

@dOrgJelli dOrgJelli added this to the origin-qa milestone Aug 16, 2022
@pileks pileks self-assigned this Aug 23, 2022
@pileks
Copy link
Contributor Author

pileks commented Sep 5, 2022

  • should print out the schema for the current version if a manifest file already exists in the working directory?

    • needs to support extensions as well
    • pass it a file, or have defaults
  • should print out latest schema if no manifest file exists?

  • print out in TS(w/ comments), YAML (w/ comments, default)

  • print out (basically full) JSON Schema?

polywrap manifest schema - YAML
polywrap manifest schema --raw - full JSON

  • polywrap manifest migrate
    • .polywrap/migrate folder with migration artifacts/old files? - Out of scope
    • confirm overwrite
      • -y option for auto-overwrite

@dOrgJelli dOrgJelli linked a pull request Sep 20, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants