command

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthorizeState = "omg one state"
)

Variables

View Source
var AuthozizeCommand = cli.Command{
	Name:    "authorize",
	Aliases: []string{"a"},
	Usage:   "Make seaside authorized.",
	Action:  doAuthorize,
}
View Source
var Commands = []cli.Command{
	{
		Name:    "show-environment-variables",
		Aliases: []string{"sev"},
		Usage:   "Check environment variables whehter used by seaside.",
		Action: func(c *cli.Context) error {
			config.Usage()
			return nil
		},
	},
	AuthozizeCommand,
	TellCommand,
	GetPublicTimelineCommand,
}
View Source
var GetPublicTimelineCommand = cli.Command{
	Name:    "public-timeline",
	Aliases: []string{"ptl"},
	Usage:   "Get posts in public timeline",
	Action:  doGetPublicTimeline,
	Flags: []cli.Flag{
		cli.IntFlag{
			Name:  "limit, l",
			Usage: "LIMIT N",
			Value: 20,
		},
		cli.IntFlag{
			Name:  "max-id, m",
			Usage: "WHERE id < m",
		},
		cli.IntFlag{
			Name:  "since-id, s",
			Usage: "WHERE id > s",
		},
		cli.StringFlag{
			Name:  "search, q",
			Usage: "LIKE %l%",
		},
		cli.BoolFlag{
			Name:  "no-pretty",
			Usage: "eg: print all file variants",
		},
	},
}
View Source
var TellCommand = cli.Command{
	Name:    "tell",
	Aliases: []string{"t"},
	Usage:   "Tell your words",
	Action:  doTell,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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