cmdutil

package
v0.7.3-2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package cmdutil provides common utilities for subcommands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FmtReportURL

func FmtReportURL(locator fossa.Locator) string

func Init

func Init(ctx *cli.Context) error

Init initializes all application-level packages.

func InitWithAPI

func InitWithAPI(ctx *cli.Context) error

func OutputWithTemplate

func OutputWithTemplate(tmpl *template.Template, data interface{}) error

func OutputWithTemplateFile

func OutputWithTemplateFile(tmplFilename string, data interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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