MCPcopy Create free account
hub / github.com/dhamidi/leader / Init

Method Init

shell.go:83–85  ·  view source on GitHub ↗

Init returns initialization code for installing leader in bash.

()

Source from the content-addressed store, hash-verified

81
82// Init returns initialization code for installing leader in bash.
83func (shell *POSIXShell) Init() string {
84 return packr.NewBox("assets").String(fmt.Sprintf("leader.%s.sh", shell.name))
85}
86
87// FishShell implements Shell for /usr/bin/fish.
88type FishShell struct {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.80

Tested by

no test coverage detected