A CLI for lenne.Tech libraries and frameworks.
CLI in action:
$ npm install -g @lenne.tech/cli
Menu mode
$ lt
or command line mode
$ lt <command> (<subcommand>) (<parameter>)
$ lt help
or
$ lt
// Start
$ lt
// Create new server
$ lt server create <ServerName>
or
$ lt server c <ServerName>
// Create new module for server (in server project root dir)
$ lt server module <ModuleName>
or
$ lt server m <ModuleName>
// Update and install npm packages (in project dir)
$ lt npm update
or
$ lt npm up
or
$ lt npm u
// Checkout git branch and update packages (in project dir)
$ lt git get <branch-name or part-of-branch-name>
or
$ lt git g <branch-name or part-of-branch-name>
...
# Clone project
git clone [email protected]:lenneTech/cli.git
cd cli
# Link the project for global usage
npm link
# Make changes
...
# Test changes
lt ...
# Build new version
npm build
Many thanks to the developers of Glugun and all the developers whose packages are used here.
MIT - see LICENSE