README.md
[](https://hex.pm/packages/cosmo_cli)
[](https://hexdocs.pm/cosmo_cli/)
# cosmo_cli
A Gleam library for building command line interfaces.
cosmo_cli is strongly inspired by [spf13/cobra](https://github.com/spf13/cobra).
```sh
gleam add cosmo_cli@1
```
Further documentation can be found at <https://hexdocs.pm/cosmo_cli>.
## Examples
All examples are in the `examples` directory.
- [simple](./examples/simple) ... A simplest CLI that shows us cosmo_cli can be received the raw `List(String)` arguments.
- [simple_argv](./examples/simple_argv) ... A simplest CLI that shows us we don't need to import argv library directly.
## Development
```sh
gleam run # Run the project
gleam test # Run the tests
```
## Roadmap
- [x] subcommands
- [x] flags(short, long)
- [ ] inherit persistent flags to its subcommands
- [ ] dynamic completion