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

Cli crud #524

Open
wants to merge 466 commits into
base: master
Choose a base branch
from
Open

Cli crud #524

wants to merge 466 commits into from

Conversation

mitjade
Copy link
Collaborator

@mitjade mitjade commented Nov 23, 2017

Create a cli to generate full CRUD out of a given schema.

yarn cli addmodule modulename - to generate an emply module, with no graphql
yarn cli addcrud modulename - to generate a crud module
yarn cli updateschema modulename - to re-generate schema definitions
yarn cli deletemodule modulename - to delete a module

@verdverm
Copy link
Contributor

This is neat, have you seen my project https:github.com/hofstadter-io/geb ? It's a dsl-to-anything generation tool. lots of flexibility and conditionals at the project, file, and module levels. Still need to add the .hofignore was going to gebbify this project at some point ;]

# Conflicts:
#	modules/core/common/log.ts
#	modules/core/server-ts/api/rootSchema.graphql
#	modules/database/server-ts/sql/helpers.js
#	packages/client/package.json
#	tools/cli.js
#	tools/cli/CommandInvoker.js
#	tools/cli/config.js
#	tools/cli/helpers/util.js
#	tools/templates/module/client-react/index.native.tsx
#	yarn.lock
# Conflicts:
#	modules/core/server-ts/api/rootSchema.graphql
# Conflicts:
#	modules/look/client-react-native/ui-native-base/components/index.jsx
#	modules/look/client-react/ui-antd/components/PageLayout.jsx
#	modules/user/client-react/components/LoginForm.web.jsx
#	modules/user/client-react/containers/UserEdit.jsx
#	packages/client/package.json
#	packages/server/package.json
#	tools/templates/crud/client-react/index.native.tsx
#	tools/templates/module/client-react/index.native.tsx
#	yarn.lock
# Conflicts:
#	modules/core/common/index.ts
#	yarn.lock
# Conflicts:
#	packages/client/package.json
#	yarn.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants