Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).