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

Cypress programmatically generate template structure #1929

Closed
grantspeelman opened this issue Jun 11, 2018 · 4 comments
Closed

Cypress programmatically generate template structure #1929

grantspeelman opened this issue Jun 11, 2018 · 4 comments
Labels
cli type: duplicate This issue or pull request already exists type: feature New feature that does not currently exist

Comments

@grantspeelman
Copy link

Current behaviour:

Currently, cypress only generates the initial folder structure and files on running cypress open for the first time.

screen shot 2018-06-12 at 9 12 00 am

Desired behaviour:

Be able to generate the initial folder structure programmatically with something like:

cypress init -P test

Motivation

This will allow other projects and libraries to wrap the initial setup process with additional setup steps and files as required.

Versions

Future Cypress versions

@grantspeelman grantspeelman changed the title Cypress generate template structure Cypress programmatically generate template structure Jun 11, 2018
@brian-mann
Copy link
Member

Did @bahmutov tell you to open this issue :P

He's been lobbying for this for a year now

@grantspeelman
Copy link
Author

No he has not 😄
I am building a ruby gem (library) called cypress_dev that integrates with ruby on rails.
Part of what it does it attempt to get you setup easily with an initial cypress setup.
Currently I have a copy of the cypress 2.1 initial template copied into the gem but it would be great if this can easily be kept inline with the Cypress.

@bahmutov
Copy link
Contributor

bahmutov commented Jun 12, 2018 via email

@jennifer-shehane
Copy link
Member

Duplicate of #619

@jennifer-shehane jennifer-shehane marked this as a duplicate of #619 Mar 31, 2021
@jennifer-shehane jennifer-shehane added cli type: duplicate This issue or pull request already exists type: feature New feature that does not currently exist and removed type: feature New feature that does not currently exist cli labels Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli type: duplicate This issue or pull request already exists type: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

4 participants