cmd

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Actions to handle
	Actions = map[string]*bool{
		"v":  flag.Bool("v", false, "Get version"),
		"cb": flag.Bool("cb", false, "Create a new board"),
		"cc": flag.Bool("cc", false, "Create a new category"),
		"db": flag.Bool("db", false, "Delete a board"),
		"dc": flag.Bool("dc", false, "Delete a category"),
		"dp": flag.Bool("dp", false, "Delete a post"),
		"dt": flag.Bool("dt", false, "Delete a thread"),
		"du": flag.Bool("du", false, "Delete a user"),
		"eb": flag.Bool("eb", false, "Edit a board"),
		"ec": flag.Bool("ec", false, "Edit a category"),
		"ep": flag.Bool("ep", false, "Edit a post"),
		"et": flag.Bool("et", false, "Edit a thread"),
		"eu": flag.Bool("eu", false, "Edit a user"),
		"lb": flag.Bool("lb", false, "List boards"),
		"lc": flag.Bool("lc", false, "List categories"),
		"lp": flag.Bool("lp", false, "List posts"),
		"lt": flag.Bool("lt", false, "List threads"),
		"lu": flag.Bool("lu", false, "List users"),
	}
)

Functions

func Init

func Init() (err error)

Init command startup

Types

This section is empty.

Jump to

Keyboard shortcuts

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