prompt

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args *Args) error

Types

type Args

type Args struct {
	Right      bool    `help:"Prints the right prompt"`
	ExitStatus int     `help:"The status code of the last command"`
	Duration   float64 `help:"The command duration of the last command"`
	Jobs       int     `help:"The number of currently running jobs"`
	Width      int     `help:"Column width"`
	DataGit    string  `help:"Output of 'jargon prepare --source=git'"`
	DataGh     string  `help:"Output of 'jargon prepare --source=gh'"`
	DataGlab   string  `help:"Output of 'jargon prepare --source=glab'"`
}

Jump to

Keyboard shortcuts

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