@caporl/cli
Command line utility for Caporl
Last updated a year ago by caporl .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @caporl/cli 
SYNC missed versions from official npm registry.

Caporl CLI (aka fcs / First Class Soldier)

CLI for Caporl applications based on the Vorpal immersive command-line.

MIT license Caretaker

Table of Contents

Installation

npm install -g @caporl/cli

Usage

You can access fcs wherever you want, with the command

fcs

You will enter in the FCS mode, on the folder of your native cli, and you can get help with

caporl [your-actual-path] help

Beware, if you are not in a caporl project folder, you will only be able to use the project create command.

Autocomplete and direct call

You want to use command directly, without enter the fcs mode? yes you can!

It's just simple as typing a command, try to test

fcs help

To facilitate your work with Caporl over fcs, we given you the abaility to install the autocomplete of commands, just do :

fcs --install-autocomplete

Don't forget to reload your terminal or just source ~/.zshrc (.bashrc for bash)

Generating and serving a Caporl project

caporl [your-actual-path] create:project MyApp
caporl [your-actual-path/MyApp] start:dev

Navigate to http://localhost:4200/ for the front.

Navigate to http://localhost:3333/ for the api.

Both apps will automatically reload if you change any of the source files.

Availabled commands

You can find all possible commands in the table below

Command Usage
Create new project create:project [name]
Add a project part add:part (model, page, service) [name]
Start dev server start:dev --front --back

Updating

To update Caporl CLI to a new version, you must update both the global package and your project's local package.

Contributing

First of all, we recommand you to generate the doc with node_modules/documentation/bin/documentation.js build bin/fcs -f html -o docs. You can check our issues, and contribute to our Schematics. We follow a git flow workflow, and trying to make cross reviews.

License

MIT

Current Tags

  • 0.1.1                                ...           latest (a year ago)

10 Versions

  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.0.1-6-1                                ...           2 years ago
  • 0.0.1-6                                ...           2 years ago
  • 0.0.1-5                                ...           2 years ago
  • 0.0.1-4                                ...           2 years ago
  • 0.0.1-3                                ...           2 years ago
  • 0.0.1-2                                ...           2 years ago
  • 0.0.1-1                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 11
This Month 11
Last Day 0
Last Week 1
Last Month 14
Dependencies (18)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |