-
Notifications
You must be signed in to change notification settings - Fork 825
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
fix(amplify-app): initialize feature flag #5643
Conversation
Updated amplify-app to initialize feature flags and part of init process
packages/amplify-app/src/index.js
Outdated
@@ -105,7 +106,8 @@ async function createAmplifySkeletonProject() { | |||
console.log(`${emoji.get('guitar')} Creating base Amplify project`); | |||
|
|||
return new Promise((resolve, reject) => { | |||
const createSkeletonAmplifyProject = spawn(amplify, ['init', '--quickstart'], { | |||
const cmd = path.basename(process.argv[1]) === 'amplify-app-dev' ? amplifyDev : amplify; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we rename this to amplifyCmd for clarity?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit but otherwise lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Updated amplify-app to initialize feature flags and part of init process by updating CLIs `--bootstrap` command to run Feature Flag initialization
This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Updated amplify-app to initialize feature flags and part of init process. Updated the Amplify App to load
amplify-dev
if theamplify-app-dev
command is used