app-cli-0.1.0 is not a library.
Here's a README.md file for your project using the app-cli crate:
This Rust application demonstrates the use of the `app-cli` crate for building a command-line interface (CLI). The application allows users to register a person or a pet with specific command-line arguments.
- --
To register a person, use the `register-person` subcommand with the required `--first-name` (or aliases `-f`, `--fname`, `--firstname`) and `--last-name` (or aliases `-l`, `--lname`, `--lastname`) arguments.
```bash
cargo run -- register-person --first-name John --last-name Doe
or using the short aliases:
Register a Pet
To register a pet, use the register-pet subcommand with the required --pet-name argument.
Optional Arguments
The --fluffy argument can be used with any subcommand to indicate if the person is wearing a fluffy coat.
Installation
To run this application, you need to have Rust installed on your system. If you don't have Rust installed, you can get it from rust-lang.org.
Clone the repository and navigate to the project directory:
Build the project:
Run the project:
Example
Register a person named John Doe:
Output:
First Name : John Last name: Doe
Register a pet named Fluffy:
License
This project is licensed under the MIT License - see the LICENSE file for details.
This `README.md` provides an overview of the application, how to use it, and example commands to get started. Adjust the `https://github.com/skbhati199/rust_app_cli` and `rust_app_cli` placeholders to match your actual repository details.