@nearform/titus-cli

1.2.0 • Public • Published

Titus CLI

A command line application to work with Titus

Features

  • starter command to initialise a new Titus application.
  • The ability to choose between a Titus application for the backend, frontend or both.

Installation

npm install -g @nearform/titus-cli

If you'd prefer not to install the package globally you can use npx which comes bundled with npm 5.2.0 or later. You can use it like so:

npx @nearform/titus-cli starter <project-name>

Usage

titus starter <project-name>

Example

titus starter my-project

This pulls the latest version of titus starter shell from GitHub and copies it to a new subfolder of the current directory called my-project/

Development

Install the dependencies using either npm or yarn:

npm install

To use the local version of the cli in the command line we need to link it to our global packages and add the bin to our PATH:

npm link

NB. This doesn't work in yarn at the moment. There are several open issues about it, but it is not looking like something that will get resolved.

Readme

Keywords

none

Package Sidebar

Install

npm i @nearform/titus-cli

Weekly Downloads

1

Version

1.2.0

License

Apache-2.0

Unpacked Size

5.24 kB

Total Files

5

Last publish

Collaborators

  • lucalanziani
  • donal.moynihan
  • simoneb
  • eamonn.frisby