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: add directory name as an argument to init cmd #3590

Merged
merged 2 commits into from
Dec 25, 2019

Conversation

shahidhk
Copy link
Member

@shahidhk shahidhk commented Dec 25, 2019

This PR adds an argument for init command so that directory name can be passed as an argument instead of a flag. The usage now becomes:

hasura init my-project

instead of

hasura init --directory my-project

The --directory flag has been marked as deprecated and can still be used, hence there are no breaking changes.

@shahidhk shahidhk added the c/cli Related to CLI label Dec 25, 2019
@shahidhk shahidhk changed the title cli: add directory name as an argument to init command cli: add directory name as an argument to init cmd Dec 25, 2019
@netlify
Copy link

netlify bot commented Dec 25, 2019

Deploy preview for hasura-docs ready!

Built with commit 424c3d5

https://deploy-preview-3590--hasura-docs.netlify.com

@hasura-bot
Copy link
Contributor

Review app for commit 424c3d5 deployed to Heroku: https://hge-ci-pull-3590.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3590-424c3d5c

@shahidhk shahidhk merged commit 8ea6f77 into hasura:master Dec 25, 2019
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-3590.herokuapp.com is deleted

polRk pushed a commit to polRk/graphql-engine that referenced this pull request Feb 12, 2020
* add directory-name as an argument to init command

* change dev version to a const string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/cli Related to CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants