Giter Site home page Giter Site logo

Comments (12)

sverweij avatar sverweij commented on June 25, 2024

Hi @simard57

the cli is completely standalone - it doesn't need configuration nor does it need a connection to any server, on the internet or otherwise. Just install & run :-)

from mscgenjs-cli.

simard57 avatar simard57 commented on June 25, 2024

Thank you for the quick reply -
is there a pre-built Windows executable?

from mscgenjs-cli.

sverweij avatar sverweij commented on June 25, 2024
  • At the moment there is no pre-built windows executable (and at the moment I don't know of any solution that can package a nodejs application as such either)
  • mscgenjs-cli's functionality is limited on windows (issue #5) - at least as far as I could test it (windows 7 under cmd, powershell and even baboon) . It'll probably be resolved when mscgenjs-cli is migrated off of phantomjs and onto chrome headless, which is a planned feature.

What is the use case you have for the cli?

from mscgenjs-cli.

simard57 avatar simard57 commented on June 25, 2024

from mscgenjs-cli.

sverweij avatar sverweij commented on June 25, 2024

That's indeed exactly what I wrote mscgenjs-cli for...

Partly triggered by your question I've been working the past day on replacing phantoms (PR #19) with chrome headless. First tests confirm what I hoped:

  • mscgenjs-cli finally works on windows too
  • it's (at least) twice as fast as the previous version

It'll be released on npm today or tomorrow. If you don't want to wait for that - a beta version is already on it so if you want to try it you can install it with npm install --global [email protected] (assuming you've got nodejs on your machine).

from mscgenjs-cli.

sverweij avatar sverweij commented on June 25, 2024

... and published: https://www.npmjs.com/package/mscgenjs-cli

a regular npm install --global mscgenjs-cli will work from now on to get the latest.

from mscgenjs-cli.

simard57 avatar simard57 commented on June 25, 2024

from mscgenjs-cli.

sverweij avatar sverweij commented on June 25, 2024

Hi, npm is the package manager for nodejs - and there definitely is a windows version of it: https://nodejs.org/en/ . If you install that (take the LTS version) and go to the command line, you can consecutively

npm install --global mscgenjs-cli

and when that is done you can use mscgenjs as if were a 'normal' windows executable:

mscgenjs mycoolchart.msc

from mscgenjs-cli.

simard57 avatar simard57 commented on June 25, 2024

from mscgenjs-cli.

simard57 avatar simard57 commented on June 25, 2024

from mscgenjs-cli.

sverweij avatar sverweij commented on June 25, 2024

Cool! Enjoy it (and let me know if you bump into something you want different or improved :-) )

from mscgenjs-cli.

simard57 avatar simard57 commented on June 25, 2024

from mscgenjs-cli.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.