#cli #command #megam

yanked rust-turbo

Use this library to build a cargo like command line using the command pattern. An implementation using rust-turbo can be found at https://github.com/megamsys/meg.git

Uses old Rust 2015

0.2.0 May 25, 2015
0.1.0 May 25, 2015

#5 in #megam


791 lines


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.

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.

We will write a devcenter article next week.

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


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


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.


~100K SLoC