Make the migrations tool a separate executable. This will remove the migrations package from CLI binary.
Note: Code for command generation and cross-cutting concerns (error handling, printing, formatting) is taken from gen2 codebase.
Commands:
npx @aws-amplify/migrate to-gen-2 --help
migrate to-gen-2
Migrates an Amplify Gen1 app to a Gen2 app
Commands:
migrate to-gen-2 generate-code Generates Amplify Gen2 code based on Gen1
configuration
Options:
--debug Print debug logs to the console [boolean] [default: false]
--help Show help [boolean]
Description of changes
Make the migrations tool a separate executable. This will remove the migrations package from CLI binary.
Note: Code for command generation and cross-cutting concerns (error handling, printing, formatting) is taken from gen2 codebase.
Commands:
Issue #, if available
Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.