cmd

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: CC0-1.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MAX_LOGGING_LEVEL int    = 3            // Maximum allowed logging level
	SHELL             string = "bash"       // Name of shell to be invoked for 'shell' command
	SPINNER_MS        int    = 500          // Spinner refresh period in miliseconds
	UP_TO_DATE        string = "up to date" // Emitted when local repo is in sync with remote one
)
View Source
const (
	SYNCED_SYMBOL       string = "✓"
	REMOTE_AHEAD_SYMBOL string = "↘"
	LOCAL_AHEAD_SYMBOL  string = "↗"
	DIVERGED_SYMBOL     string = "↹"
	PUSH_FETCH_SYMBOL   string = "⇅"
)

Ahead / behind symbols

⇅ ↑ ↓ ⬍ ⬆ ⬇ ⭡ ⭣ ⮁ ⁕ ⁂ ⨹ ⊡ ⧆ ⊙ ⊛ ⨻ ⊠ ⊞ ⎗ ⮧ ⮯ ⮧ ⊝ ⊗ ⊜ ↥ ↧ ↭ ↹ ↗ ↘ ↯ ◥ ◢ ◹ ◿ ⤓

View Source
const (
	SYNCED_CHAR       string = "synced"
	REMOTE_AHEAD_CHAR string = "ready for merge"
	LOCAL_AHEAD_CHAR  string = "ready for push"
	DIVERGED_CHAR     string = "diverged"
)
View Source
const (
	ALIGN_LEFT = iota
	ALIGN_CENTER
	ALING_RIGHT
)
View Source
const (
	DIRTY_SYMBOL        string = "⊛"
	UNTRACKED_SYMBOL    string = "⊗"
	STASH_SYMBOL        string = "⊜"
	FETCH_NEEDED_SYMBOL string = "↯" // Ready for fetch
)

Other symbols

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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