1.0.7 • Published 5 years ago

trollsjs v1.0.7

Weekly downloads
32
License
CLI
Repository
-
Last release
5 years ago

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
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago