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

fix(amplify-app): initialize feature flag #5643

Merged
merged 3 commits into from
Oct 20, 2020
Merged

Conversation

yuth
Copy link
Contributor

@yuth yuth commented Oct 20, 2020

Updated amplify-app to initialize feature flags and part of init process. Updated the Amplify App to load amplify-dev if the amplify-app-dev command is used

yuth added 2 commits October 20, 2020 11:29
Updated amplify-app to initialize feature flags and part of init process
@yuth yuth requested review from attilah and nikhname October 20, 2020 18:41
@@ -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;
Copy link
Contributor

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?

Copy link
Contributor

@nikhname nikhname left a 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

Copy link
Contributor

@attilah attilah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@attilah attilah self-assigned this Oct 20, 2020
@yuth yuth merged commit 9608b56 into aws-amplify:master Oct 20, 2020
@yuth yuth deleted the amp-app-ff branch October 20, 2020 23:33
r0zar pushed a commit to r0zar/amplify-cli that referenced this pull request Nov 19, 2020
Updated amplify-app to initialize feature flags and part of init process by updating CLIs `--bootstrap` command to run Feature Flag initialization
@github-actions
Copy link

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 *-help channels for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants