1 unstable release
Uses old Rust 2015
0.2.0 |
|
---|---|
0.1.0 | May 26, 2015 |
#3 in #megam
49KB
791 lines
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 clis (servers to anything...). You can see
rust-turbo` in action in our cli meg for launching Megam.
Learn more at http://docs.megam.io/v1.0/docs/megam_quick_launch
Installing rust-turbo to build your next cli.
Read this devcenter to get started with rust.
Using this crate
We will write a devcenter article next week.
Adding new subcommands to your cli
We will write a devcenter article next week.
We are glad to help if you have questions, or request for new features..
twitter @megamsys email support@megam.io
License
Author: | Kishorekumar Neelamegam (nkishore@megam.io) |
Raj Thilak (rajthilak@megam.io) | |
Yeshwanth Kumar (getyesh@megam.io) | |
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.
Dependencies
~5MB
~99K SLoC