/myway-cli

A CLI interface gem for creating and managing MyWay Sinatra projects

Primary LanguageRubyMIT LicenseMIT

MyWay-CLI: The must-have tool for MyWay

The MyWay CLI allows users to create, modify, run and test projects using the MyWay Sinatra Framework using the simple myway command.

Installation

Simply run the following in console to install:

$ gem install myway-cli

Usage

To create a new project:

$ myway generate project example-project

To run the server:

$ myway run server

To run test:

$ myway run tests

To introduce a new controller, api or model:

$ myway generate controller example_controller
$ myway generate api example_api
$ myway generate model example_model

Note: command segments can be run with just the first letter of their name

e.g. running the server can be accomplished with myway r s

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jonjondev/myway-cli.

Feel free to fork it and help out on this project!

License

The gem is available as open source under the terms of the MIT License.