Compare commits
3 Commits
37ea36cfdd
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3217750714 | ||
|
|
613e059fb7 | ||
|
|
771934b486 |
17
README.md
17
README.md
@@ -2,11 +2,24 @@
|
|||||||
|
|
||||||
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 "cli_generator"
|
require "cligen"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
||||||
- [Tristan Ancelet](https://github.com/your-github-user) - creator and maintainer
|
- [Tristan Ancelet](https://git.arcanium.tech/tristan) - creator and maintainer
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require "option_parser"
|
require "option_parser"
|
||||||
require "./regex"
|
require "./cligen/regex"
|
||||||
require "./format"
|
require "./cligen/format"
|
||||||
|
|
||||||
module CliGen
|
module CliGen
|
||||||
VERSION = "0.1.0"
|
VERSION = "0.1.0"
|
||||||
@@ -100,4 +100,4 @@ module CliGen
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
require "./command"
|
require "./cligen/command"
|
||||||
|
|||||||
Reference in New Issue
Block a user