ElectronForConstruct/website

doesn't works as intended

Opened this issue · 4 comments

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

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

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?

The right syntax is efc new --name=xxx

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

Thank you, it works to create a new project.