Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonjondev/myway-cli
A CLI interface gem for creating and managing MyWay Sinatra projects
https://github.com/jonjondev/myway-cli
Last synced: 6 days ago
JSON representation
A CLI interface gem for creating and managing MyWay Sinatra projects
- Host: GitHub
- URL: https://github.com/jonjondev/myway-cli
- Owner: jonjondev
- License: mit
- Created: 2018-06-06T08:23:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-16T13:25:58.000Z (over 1 year ago)
- Last Synced: 2024-12-09T19:19:11.678Z (27 days ago)
- Language: Ruby
- Homepage: https://rubygems.org/gems/myway-cli
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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](https://github.com/jonjondev/myway-sinatra) using the simple `myway` command.
## Installation
Simply run the following in console to install:
```bash
$ gem install myway-cli
```## Usage
To create a new project:
```bash
$ myway generate project example-project
```To run the server:
```bash
$ myway run server
```To run test:
```bash
$ myway run tests
```To introduce a new controller, api or model:
```bash
$ 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](https://opensource.org/licenses/MIT).