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

https://github.com/megamsys/rust_cli

A mixin for creating command line applications - gives an easy interface for argument specification and processing used by https://www.megam.io
https://github.com/megamsys/rust_cli

Last synced: about 2 months ago
JSON representation

A mixin for creating command line applications - gives an easy interface for argument specification and processing used by https://www.megam.io

Awesome Lists containing this project

README

          

## rust_cli

Command line(cli) follows a command patterns where a command manager attaches all the subcommands it needs to process. There are standard flags (-v version, -h help) that are written as part of the cli.

rust-cli is a mixin for creating command line applications - gives an easy interface for argument specification and processing used by https://console.megam.io

So we grabbed the best practice from `cargo` which will be used as a common library in our cli`s (servers to anything...).
You can see `rust-turbo` in action in our cli [meg](https://github.com/megamsys/meg.git) for launching [Megam](https://www.megam.io).

Learn more at http://docs.megam.io/v1.0/docs/megam_quick_launch

## Installing rust-turbo to build your next cli.

Read this [devcenter](http://devcenter.megam.io/2015/05/25/rust/) to get started with rust.

## Using this crate

We will write a [devcenter](http://devcenter.megam.io) article next week.

## Adding new subcommands to your cli

We will write a [devcenter](http://devcenter.megam.io) article next week.

We are glad to help if you have questions, or request for new features..

[twitter @megamsys](http://twitter.com/megamsys) [email support@megam.io]()

# License

| | |
|:---------------------|:-----------------------------------------|
| **Author:** | Kishorekumar Neelamegam ()
| | Raj Thilak ()
| | Yeshwanth Kumar ()
| **Copyright:** | Copyright (c) 2013-2015 Megam Systems.
| **License:** | Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.