A POC for the electron-cli
benogle opened this issue · 1 comments
I really really want the command line utility for managing electron apps to happen. I think it will make things considerably easier for newbies, and hopefully folks with exiting apps as well.
The current state of master on this repo is a POC for the electron CLI using the current electron hotness (electron-compile, electron-rebuild, electron-packager, electron-prebuilt)
This repo is still called husk
because https://github.com/mafintosh/electron-prebuilt creates an electron
binary, and I dont own the electron-cli npm module. husk-cli
does 3 things right now:
- bootstraps: npm installs + runs
electron-rebuild
- runs: just runs
electron .
in the app dir - builds: pre-compiles all the source, and packages it, ignoring unnecessary things like
electron-compilers
The sample app for use with this is at https://github.com/benogle/electron-sample
Note that running electron-rebuild
currently depends on landing some variant of electron/rebuild#11.
@paulcbetts @maxogden @atom/core please take a peek and give feedback.
Plan is to
- Finish this with specs for
run
,bootstrap
andbuild
commands - Add an
init
command that generates a project - Remove the
electron
binary fromelectron-prebuilt
- Rename this to
electron-cli
- Move this (and other related things) into the http://github/electronjs org
- Put the
electron-cli
flow in the docs