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

Expand on cli init capabilities #485

Merged
merged 4 commits into from
Sep 29, 2021
Merged

Expand on cli init capabilities #485

merged 4 commits into from
Sep 29, 2021

Conversation

stwiname
Copy link
Collaborator

@stwiname stwiname commented Sep 19, 2021

Changes:

  • Install dependencies by default when init a project, can be skipped through --skip-install
  • Run codegen when init a project, can be skipped through --skip-codegen
  • Add the ability to specify a directory to init project in, same applies to codegen command

@stwiname
Copy link
Collaborator Author

I'm not sure if there's some place that would need docs or tutorials updated to match these changes

@jamesbayly
Copy link
Contributor

@stwiname you can add a section under /docs/references/references.md to add information about the subql command.

All docs are synced from the docs folder

@ianhe8x
Copy link
Collaborator

ianhe8x commented Sep 29, 2021

I think better make the flag default disabled. If dependency installation fails it won't look like init itself fails.
And can you run yarn pack or oclif-dev manifest && oclif-dev readme manually under the cli package folder? So oclif will generate the updated README for cli

- Install dependencies by default, can be skipped through `--skip-install`
- Run codegen when initialising a project, can be skipped through `--skip-codegen`
- Add the ability to specify a directory, same applies to `codegen` command
@ianhe8x ianhe8x merged commit 4a38644 into main Sep 29, 2021
@ianhe8x ianhe8x deleted the cli-init-improvements branch September 29, 2021 02:07
bz888 pushed a commit that referenced this pull request Jun 3, 2022
* Expand on cli `init` capabilities

- Install dependencies by default, can be skipped through `--skip-install`
- Run codegen when initialising a project, can be skipped through `--skip-codegen`
- Add the ability to specify a directory, same applies to `codegen` command

* Remove codegen from init command

* Default to not installing dependencies

* Update README.md
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.

3 participants