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
- Host: GitHub
- URL: https://github.com/megamsys/rust_cli
- Owner: megamsys
- License: apache-2.0
- Created: 2015-05-21T13:30:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-26T06:13:49.000Z (over 10 years ago)
- Last Synced: 2025-07-24T15:53:32.385Z (2 months ago)
- Language: Rust
- Homepage: https://www.megam.io
- Size: 251 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.0Licensed 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 athttp://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.