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 migrate command - add -f, --format option #1294

Closed
pileks opened this issue Sep 30, 2022 · 0 comments · Fixed by #1301
Closed

CLI manifest migrate command - add -f, --format option #1294

pileks opened this issue Sep 30, 2022 · 0 comments · Fixed by #1301

Comments

@pileks
Copy link
Contributor

pileks commented Sep 30, 2022

Is your feature request related to a problem? Please describe.
I want to be able to migrate my manifest files to any format version, not just the latest. Of course, this would only be possible if the appropriate up/down migration path exists.

An obvious reason for this would be a case in which an older version of Polywrap is used - we can migrate the manifest up to the latest format supported by that version of Polywrap, but we wouldn't want to migrate it further.

Describe the solution you'd like
Add a -f, --format option to manifest migrate which would allow the user to specify the target format to migrate to.
Example: polywrap manifest migrate -f 0.2.0

Describe alternatives you've considered
/

Additional context
This change seems like a nice addition after having finished work on the manifest migration strategy (see #1286)

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