Skip to content

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

@pileks

Description

@pileks

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)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions