electron icon indicating copy to clipboard operation
electron copied to clipboard

Request: Add Command-Line Interface(CLI) as of Cordova

Open mainalikishan opened this issue 12 years ago • 15 comments

Hello,

It would be great feature and lot easier to work on atom-shell, if it can have CLI as of cordova:

http://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html#The%20Command-Line%20Interface

mainalikishan avatar Nov 10 '14 05:11 mainalikishan

+1 :+1:

gcamrit avatar Nov 10 '14 05:11 gcamrit

:+1:

Reshamkhadka avatar Nov 10 '14 05:11 Reshamkhadka

+1 (y)

chaudharyramesh avatar Nov 10 '14 05:11 chaudharyramesh

This is absolutely something I want to have in atom-shell, it should also handle native module building as mentioned in #793.

zcbenz avatar Nov 10 '14 07:11 zcbenz

+1

joshilomas avatar Nov 11 '14 03:11 joshilomas

+1 :rainbow:

reggi avatar Nov 14 '14 06:11 reggi

any updates on this?

mainalikishan avatar Jan 21 '15 04:01 mainalikishan

I've gone off building something to assemble my app that uses settings from my apps package.json file. I would love if this existed already.

I've published some of the functions in this dump repo I have

I have some unpublished stuff that puts it all together a bit, but it's unfinished and it's no CLI.

Disclaimer: I've since moved to promises / bluebird instead of caolan/async, I wouldn't use that NPM proj as it's def not stable. Just sharing that I'm interested in a FULL build process for atom shell.

reggi avatar Jan 21 '15 05:01 reggi

IIUC the command line tool won't have subcommands similar to:

  • cordova platform add/rm/ls
  • cordova emulate
  • cordova plugin

But it will have (let's assume that this tool is called husk):

  • husk create
  • husk run
  • husk build (or husk dist?)
  • husk help
  • husk info (which produces a listing of potentially useful details, such as the version numbers of Chromium, Node.js , and husk itself)

Comments?

xfq avatar Mar 06 '15 09:03 xfq

Hi, i am working on this sort of tool, right now it only creates a new project, and I am for any comments and contributions.

Ikana avatar Nov 20 '16 05:11 Ikana

I totally forgot to mention I made something like this for a friend. https://github.com/MarshallOfSound/electron-forge

electron-forge init
electron-forge start
electron-forge package

MarshallOfSound avatar Nov 20 '16 06:11 MarshallOfSound

Hey @MarshallOfSound maybe we can work together, i think there is still a need to integrate native package building for electron on the tools.

Ikana avatar Nov 20 '16 14:11 Ikana

@Ikana I had windows / macOS / debian package building working locally but I haven't pushed / tested yet as I got distracted by other things (exams 😢 ).

MarshallOfSound avatar Nov 20 '16 14:11 MarshallOfSound

@MarshallOfSound, I could help you with the testing

Ikana avatar Nov 20 '16 15:11 Ikana

As electron-forge is now the standard for this, issues related to it are probably better posted on that repo. This issue has been stale for a while, i'm going to go ahead and close it.

codebytere avatar Sep 21 '17 18:09 codebytere