https://github.com/g2a-com/klio
Crossover between a CLI framework and a package manager
https://github.com/g2a-com/klio
cli go
Last synced: 5 months ago
JSON representation
Crossover between a CLI framework and a package manager
- Host: GitHub
- URL: https://github.com/g2a-com/klio
- Owner: g2a-com
- License: mit
- Created: 2020-10-21T13:01:17.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-10-23T07:07:10.000Z (8 months ago)
- Last Synced: 2025-10-23T09:09:53.456Z (8 months ago)
- Topics: cli, go
- Language: Go
- Homepage:
- Size: 262 KB
- Stars: 50
- Watchers: 13
- Forks: 14
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# klio
[](https://godoc.org/github.com/g2a-com/klio)
[](https://goreportcard.com/report/github.com/g2a-com/klio)
Klio is a crossover between a framework for creating CLI tools and a package manager for installing
them into your project. It can be used as a standalone tool, or as a library which enables you to
create your own CLI.
## How it works
By default klio doesn't include any commands except "get" which enables you to install new ones:
```
klio get hello --from https://raw.githubusercontent.com/g2a-com/klio-example-command/main/registry.yaml
```
Now you can use the newly installed command:
```
klio hello
```
By default "get" adds info about each installed command to the "klio.yaml" file. You can easily
install all dependencies listed in this file by running:
```
klio get
```
## Installation
Currently, you have to compile klio by yourself. Make sure that you have
[golang compiler](https://golang.org/dl/) installed. Next, clone repository and run "go build":
```
git clone git@github.com:g2a-com/klio.git
cd klio
go build ./cmd/klio
```
## Contributing
To contribute to klio, check out [contribution guidelines](./CONTRIBUTING.md).