trollsjs

1.0.7 • Public • Published

trollsjs

Install

npm i -g trollsjs

Usage

 troll <command> [<args>] [--port]

Global Commands:

info ................................... Print project, system, and environment information
new <name> --port <port> ............... Create a new project
start --file <file.js> ................. Server run  Devlop troll start
controller <event> ..................... <new|add|del> controllers [--type] <html|json|xml|text|redirect>
config <subcommand> .................... Manage CLI and project config values (subcommands: MongoDB, Mail, Port, Domain, help)
kill --port <port> ..................... Kill Port
docs ................................... Open the torzajs documentation website
login .................................. Log in to troll.js
logout ................................. Log out of troll.js
signup ................................. Create an troll.js account
update ................................. Update troll.js

Examples :

$ troll info
$ troll new test-project --port 8080
$ troll start
$ troll start --file index.js
$ troll controller new page-content --type <html|json|xml|text|redirect>
$ troll controller add page-content --sub sub-content --type <html|json|xml|text|redirect>
$ troll controller del page-content
$ troll config MongoDB
$ troll kill --port 8080
$ troll docs
$ troll login
$ troll logout
$ troll signup
$ troll update

Readme

Keywords

none

Package Sidebar

Install

npm i trollsjs

Weekly Downloads

7

Version

1.0.7

License

CLI

Unpacked Size

62.3 kB

Total Files

21

Last publish

Collaborators

  • thnvaza