https://github.com/trekjs/cli
CLI for Trek's application.
https://github.com/trekjs/cli
Last synced: 3 months ago
JSON representation
CLI for Trek's application.
- Host: GitHub
- URL: https://github.com/trekjs/cli
- Owner: trekjs
- License: mit
- Created: 2015-02-03T07:34:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-13T16:31:13.000Z (about 9 years ago)
- Last Synced: 2025-03-22T14:15:28.594Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 55.7 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# trek-cli
Command line tool for Trek's application.
[![NPM version][npm-img]][npm-url]
[![Build status][travis-img]][travis-url]
[![Test coverage][coveralls-img]][coveralls-url]
[![License][license-img]][license-url]
[![Dependency status][david-img]][david-url]### Usage
```bash
$ trek -h
$ trek new trekapp
$ cd trekapp
$ npm i
$ npm start
``````bash
Usage: trek [options]
Command line tool for Trek's application
Options:
-h, --help output usage information
-V, --version output the version numberCommands:
generate|g generate new code
new|n create a new Trek application
server|s start the Trek server
console|c start the Trek console(REPL)_____ ____ _____ _ ___
/____//__ \ /____//_X__/
__ ___) / ____ ___
/ / / _/ / __/ / _ \
/ / / /\ \ / /__ / / \ \
/_/ /_/ /_//____//_/ \_\```
## Directory Structure
```bash
treek -a trekapp
.
├── .babelrc
├── .editorconfig
├── .eslintrc
├── .gitattributes
├── .gitignore
├── .travis.yml
├── app
│ ├── controllers
│ │ ├── users.js
│ │ └── welcome.js
│ ├── models
│ │ └── user.js
│ ├── services
│ │ └── .gitkeep
│ └── views
│ └── .gitkeep
├── config
│ ├── .env.development
│ ├── .env.production
│ ├── .env.test
│ ├── app.development.toml
│ ├── app.production.toml
│ ├── app.test.toml
│ ├── app.toml
│ ├── database.toml
│ ├── locales
│ │ └── .gitkeep
│ ├── middleware.js
│ └── routes.js
│ └── secrets.toml
│ └── session.js
├── docker-compose.yml
├── log
│ └── .gitkeep
├── package.json
├── public
│ ├── fonts
│ │ └── .gitkeep
│ ├── humans.txt
│ ├── images
│ │ └── .gitkeep
│ ├── robots.txt
│ ├── scripts
│ │ └── .gitkeep
│ └── styles
│ └── .gitkeep
├── server.js
└── test
└── .gitkeep
```## LICENSE
[MIT](LICENSE)
[npm-img]: https://img.shields.io/npm/v/trek-cli.svg?style=flat-square
[npm-url]: https://npmjs.org/package/trek-cli
[travis-img]: https://img.shields.io/travis/trekjs/cli.svg?style=flat-square
[travis-url]: https://travis-ci.org/trekjs/cli
[coveralls-img]: https://img.shields.io/coveralls/trekjs/cli.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/trekjs/cli?branch=master
[license-img]: https://img.shields.io/badge/license-MIT-green.svg?style=flat-square
[david-img]: https://img.shields.io/david/trekjs/cli.svg?style=flat-square
[david-url]: https://david-dm.org/trekjs/cli
[license-url]: LICENSE