cmd

package
v0.0.0-...-9543e55 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package cmd cmdline client for the Baruwa REST API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient() (c *api.Client, err error)

GetClient returns a new Client

Types

type CLI

type CLI struct {
	*cli.Cli
}

CLI struct for main

func NewCLI

func NewCLI() *CLI

NewCLI initializes new command line interface

func (*CLI) RegisterCommands

func (c *CLI) RegisterCommands()

RegisterCommands registers all CLI commands

Jump to

Keyboard shortcuts

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