cmd

package
v0.0.0-...-67f6c25 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Main is the entry point of the application.

Types

type Context

type Context struct {
	Debug bool
}

type CycleWSCmd

type CycleWSCmd struct {
	Direction string `arg:"" help:"Direction to traverse {${enum}}" enum:"prev,next" default:"next"`
}

func (*CycleWSCmd) Run

func (wc *CycleWSCmd) Run(ctx *Context) error

type RofiMasterCmd

type RofiMasterCmd struct{}

RofiMasterCmd swaps master from rofi list, changes workspace as needed.

func (*RofiMasterCmd) Run

func (wc *RofiMasterCmd) Run(ctx *Context) error

type StatusCmd

type StatusCmd struct{}

Status pretty prints dkcmd status output.

func (*StatusCmd) Run

func (sc *StatusCmd) Run(ctx *Context) error

type SwapCmd

type SwapCmd struct {
	AddressOrTileIndex string `arg:"" default:""`
}

func (*SwapCmd) Run

func (wc *SwapCmd) Run(ctx *Context) error

Jump to

Keyboard shortcuts

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