cmd

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(sectionName string, index int) error

func Build

func Build() error

func CreateDocumentAt

func CreateDocumentAt(path string, defaultStructure bool) error

Creates a new document in the supplied directory. `path` is converted into an absolute path before being used. `defaultStructure` specifies whether to prepopulate the document with a default structure, namely a classic report structure.

func DoCommand added in v0.2.7

func DoCommand(command *clapper.CommandConfig, version string) error

func Edit added in v0.2.7

func Edit(query string) error

func Help added in v0.2.4

func Help(helpFlag *clapper.Flag, cmdName string)

func List added in v0.2.0

func List() error

func Move added in v0.1.3

func Move(input string, to int) error

func Remove added in v0.0.5

func Remove(inputs []string, confirm bool) error

func Stats added in v0.2.7

func Stats(flags map[string]*clapper.Flag) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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