Categorygithub.com/berttejeda/bert.yamlcli
module
0.2.0
Repository: https://github.com/berttejeda/bert.yamlcli.git
Documentation: pkg.go.dev

# README

Overview

This is a Go library for defining CLI interfaces using yaml files.

The underlying CLI library is alecthomas/kingpin.

Features

So far, this library supports creating a cli using an ansible playbook with specially formatted vars.

Usage

package main

import (
  "fmt"
  "github.com/berttejeda/bert.yamlcli/ansible"
  logger "github.com/sirupsen/logrus"
)

func main() {
  cli, _ := ansible.MakeCLIFromAnsiblePlaybook("Taskfile.yaml")
  fmt.Println(cli)
}

Examples

Consult the examples directory.

# Packages

No description provided by the author
No description provided by the author