Added README changes to show install steps
This commit is contained in:
13
README.md
13
README.md
@@ -2,6 +2,19 @@
|
|||||||
|
|
||||||
This is a crystal project to manage setting up OptionParser objects based around "Command" objects and arguments you define inside them.
|
This is a crystal project to manage setting up OptionParser objects based around "Command" objects and arguments you define inside them.
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
1. Add the dependency to your `shard.yml`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
dependencies:
|
||||||
|
cligen:
|
||||||
|
git: https://git.arcanium.tech/tristan/cligen
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Run `shards install`
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
```crystal
|
```crystal
|
||||||
require "cligen"
|
require "cligen"
|
||||||
|
|||||||
Reference in New Issue
Block a user