klio

module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2022 License: MIT

README

klio

GoDoc Go Report Card

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 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.

Directories

Path Synopsis
cmd
internal
log
pkg
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL