Documentation ¶
Index ¶
Constants ¶
This section is empty.
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.
func PrintInitText ¶
func PrintInitText()
func PrintVersion ¶
func PrintVersion()
Types ¶
type Config ¶
type Config struct { HistoryFile string BookMarkFile string Command string NoOutput bool Make bool CustomSource []CustomSource FuzzyFinder FuzzyFinder BinaryPath string }
type CustomSource ¶
var BookmarkCustomSource CustomSource
var HistoryCustomSource CustomSource
func BuildCustomSource ¶
func BuildCustomSource(list ...CustomSource) CustomSource
複数のCustomSourceを連結する
func (CustomSource) Equals ¶
func (cs CustomSource) Equals(second CustomSource) bool
func (CustomSource) GetPathWithFinder ¶
func (cs CustomSource) GetPathWithFinder(begins []int) (string, error)
FuzzyFinderをつかってパス取得。AfterCommandのインデックスを返す
func (CustomSource) ToString ¶ added in v1.1.21
func (cs CustomSource) ToString() string
type FuzzyFinder ¶
func (FuzzyFinder) GetCommand ¶
func (ff FuzzyFinder) GetCommand() []string
Click to show internal directories.
Click to hide internal directories.