Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iByteABit256 authored Feb 13, 2023
1 parent 25b0c0f commit 1de421c
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# MRN-Generator

<!-- TABLE OF CONTENTS -->
<details>
<summary>Table of Contents</summary>
<ol>
<li>
<a href="#about-the-project">About The Project</a>
</li>
<li>
<a href="#getting-started">Getting Started</a>
<ul>
<li><a href="#prerequisites">Prerequisites</a></li>
<li><a href="#installation">Installation</a></li>
</ul>
</li>
<li><a href="#usage">Usage</a></li>
<li><a href="#license">License</a></li>
<li><a href="#contact">Contact</a></li>
</ol>
</details>

<!-- ABOUT THE PROJECT -->
## About The Project

This is a command line utility to generate MRNs conforming to [ISO 6346](https://en.wikipedia.org/wiki/ISO_6346)

<!-- GETTING STARTED -->
## Getting Started

### Prerequisites

To build the project locally you will need to [Install Rust](https://www.rust-lang.org/tools/install)

### Installation

```cargo build``` for a development build

```cargo build --release``` for a release build

<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- USAGE EXAMPLES -->
## Usage

mrn-generator [OPTIONS] --country-code <COUNTRY_CODE>

Options:
- -c, --country-code <COUNTRY_CODE> Country code of MRN
- -n, --number-of-mrns <NUMBER_OF_MRNS> Number of MRNs to generate [default: 1]
- -h, --help Print help
- -V, --version Print version

### Examples
```mrn-generator -c DK``` to generate an MRN with Denmark as a country code

```mrn-generator -c NL -n 20``` to generate 20 MRNs with Netherlands as a country code

<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- LICENSE -->
## License

Distributed under the MIT License. See `LICENSE.txt` for more information.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

<!-- CONTACT -->
## Contact

Pavlos Smith - paulsmith4561@gmail.com.com

0 comments on commit 1de421c

Please sign in to comment.