Code Monkey home page Code Monkey logo

cli's Introduction

Nitric Logo

CLI for building and deploying nitric apps

GitHub Workflow Status (branch) GitHub release (latest SemVer) GitHub all releases downloads Discord

Overview

Nitric provides a command-line interface (CLI) to assist with various tasks when building applications with the Nitric framework. For more information, check out the main Nitric repo.

Installation

The Nitric CLI is free to download and install.

Purpose

The Nitric CLI performs 3 main tasks:

  • Create new projects
  • Run apps locally for testing and development
  • Deploy to the cloud you choose

Common Commands

Common commands in the CLI that you’ll be using:

  • nitric down : Undeploy a previously deployed stack, deleting resources
  • nitric run : Run your project locally for development and testing
  • nitric stack new [stackName] [providerName] : Create a new Nitric stack
  • nitric start : Run nitric services locally for development and testing
  • nitric up : Create or update a deployed stack

Help with Commands

Each command is self documented and provides a "help" interface describing the usage, arguments and options for the command. Use the help command to view the help information for any other command:

Example displaying help for the new command

nitric new --help

Complete Reference

Documentation for all available commands:

  • nitric build : Build a Nitric project
  • nitric new [projectName] [templateName] : Create a new project
  • nitric run : Run your project locally for development and testing
  • nitric stack : Manage stacks (the deployed app containing multiple resources e.g. services, buckets and topics)
  • nitric stack down [-s stack] : Undeploy a previously deployed stack, deleting resources (alias: nitric down)
  • nitric stack list : List all stacks in the project
  • nitric stack new [stackName] [providerName] : Create a new Nitric stack
  • nitric stack update [-s stack] : Create or update a deployed stack (alias: nitric up)
  • nitric start : Run nitric services locally for development and testing
  • nitric version : Print the version number of this CLI

Get in touch

Get Started

Check out the Nitric docs to see how to get started using Nitric. lto:[email protected])

Get Started

Check out the Nitric docs to see how to get started using Nitric.

cli's People

Contributors

tjholm avatar asalkeld avatar davemooreuws avatar jyecusch avatar homelessdinosaur avatar raksiv avatar nitric-bot avatar elisselockhart avatar web-flow avatar tdurieux avatar

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.