Giter VIP home page Giter VIP logo

nrelay-cli's Introduction

nrelay-cli

A command line interface for generating and running nrelay projects.

Contents

Install

npm install -g nrelay-cli

Commands

Running nrelay with no commands will print the help information.

new

The new command can be used to generate a new nrelay project. It requires a single argument which is the name of the project that will be generated. The new project will be created in a folder in the current working directory of the console.

nrelay new my-new-project

Creates a new folder in the current working directory of the console called my-new-project.

run

The run command is used to actually run an nrelay project. Any arguments which are provided will be passed on to the nrelay runtime which is created.

nrelay run

Runs the project with no arguments.

nrelay run --no-update

Runs the project and doesn't check for any updates when starting up.

build

The build command is simply used to build the current nrelay project. This is just an alias for npm run compile.

nrelay build

Builds the project.

eject

The eject command can be used to modify an existing nrelay project such that it can be run independently of the CLI. This command is extremely useful when you intend to host an nrelay project, since it removes the dependency on the CLI.

nrelay eject

Ejects the nrelay project. An ejected project can be run by using

node index

Instead of the usual run command (the run command will still work, though).

fix

The fix command can be used to add any files which are usually present in an nrelay project, but are missing. For example, if the .nrelay file was deleted accidentally, this will cause the CLI to think that the folder is not actually an nrelay project. Running nrelay fix will replace the .nrelay file so that the project can be run again.

nrelay fix

Adds any missing files which are required by the CLI.

update

The update command updates a project's nrelay dependency to the latest version. This is an alias for npm install --save nrelay@next.

nrelay update

Updates the nrelay dependency of the project.

nrelay-cli's People

Contributors

thomas-crane avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

batof

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.