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

doesn't works as intended #54

Open
cabfile opened this issue Nov 19, 2020 · 4 comments
Open

doesn't works as intended #54

cabfile opened this issue Nov 19, 2020 · 4 comments

Comments

@cabfile
Copy link

cabfile commented Nov 19, 2020

when i install efc through npm when i type efc it is not interactive
and when i try to make a new project it says that i didn't gave the project a name even though i did
help

@Armaldio
Copy link
Member

Armaldio commented Nov 19, 2020

The doc is a bit outdated
The whole thing is also being reworked.
In the meantime, plus use efc -h for help

@rafaelfe
Copy link

rafaelfe commented Jan 4, 2021

I am also trying to build a new project on macOS, but no success.

efc -h returns

Electron for Construct cli v3.1.5

Usage: efc <command> [options]

Commands:
  build                Package your app for any OS
  help                 Display this help
  debug                Show current configuration
  donate               Open a link where you can donate to support this app
  new                  Bootstrap a new project
  preview              Preview your construct project

But when I try to use efc new it returns [new] › ✖ A name is required in order to create a project

I tried using efc new name, efc new -name and efc new "name" with no success.

How do I create a new project on macOS?

@Armaldio
Copy link
Member

Armaldio commented Jan 4, 2021

The right syntax is efc new --name=xxx

Note you can also use efc <command> -h in addition to efc -h

@rafaelfe
Copy link

rafaelfe commented Jan 4, 2021

Thank you, it works to create a new project.

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

No branches or pull requests

3 participants