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

Add form cli #255

Merged
merged 168 commits into from
Sep 27, 2023
Merged

Add form cli #255

merged 168 commits into from
Sep 27, 2023

Conversation

sdstolworthy
Copy link
Contributor

@sdstolworthy sdstolworthy commented Sep 20, 2023

Issue #, if available:

Description of changes:
Adds a command line interface for form generation.

image
 amplify generate forms --modelsOut ./src/graqhql --uiOut ./src/ui-components --stack amplify-simple-react-sstol-sandbox
image

This command generates models in src/graphql, and UI Forms in src/ui-components.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

sobolk
sobolk previously approved these changes Sep 26, 2023
@@ -27,9 +27,11 @@
},
"homepage": "https://github.com/aws-amplify/cli#readme",
"dependencies": {
"@aws-amplify/backend-output-schemas": "^0.2.0-alpha.3",
Copy link
Member

Choose a reason for hiding this comment

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

cli needs to know this? that's odd.

Copy link
Contributor Author

@sdstolworthy sdstolworthy Sep 26, 2023

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

It probably shouldn't directly import that package in the long run, but we can leave that refactor for our future selves :)

@@ -27,9 +27,11 @@
},
"homepage": "https://github.com/aws-amplify/cli#readme",
"dependencies": {
"@aws-amplify/backend-output-schemas": "^0.2.0-alpha.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

It probably shouldn't directly import that package in the long run, but we can leave that refactor for our future selves :)

@sdstolworthy sdstolworthy merged commit 0b2d50d into aws-amplify:main Sep 27, 2023
18 checks passed
@sdstolworthy sdstolworthy deleted the add-form-cli branch September 27, 2023 03:37
abhi7cr pushed a commit that referenced this pull request Sep 27, 2023
* feat: add form cli

---------

Co-authored-by: Edward Foyle <[email protected]>
Co-authored-by: Amplifiyer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants