Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LongestCommonPrefix ¶
func RangeNumParse ¶
func RegisterCmd ¶
func RegisterCmd(raw []byte)
Types ¶
type CmdLineFields ¶
type CmdLineFields struct {
// contains filtered or unexported fields
}
TODO: Add struct CmdLineFields
func CmdlineField ¶
func CmdlineField(str string) (fields CmdLineFields)
Split a command line into fields
func (*CmdLineFields) Append ¶
func (f *CmdLineFields) Append(seg CmdLineSeg)
func (*CmdLineFields) Bytes ¶
func (f *CmdLineFields) Bytes() (bytes [][]byte)
func (*CmdLineFields) Count ¶
func (f *CmdLineFields) Count() int
func (CmdLineFields) Strings ¶
func (f CmdLineFields) Strings() (strs []string)
type CmdLineSeg ¶
type CmdLineSeg struct {
// contains filtered or unexported fields
}
func (*CmdLineSeg) IsQuoted ¶
func (s *CmdLineSeg) IsQuoted() bool
func (*CmdLineSeg) String ¶
func (s *CmdLineSeg) String() string
func (*CmdLineSeg) UnquotString ¶
func (s *CmdLineSeg) UnquotString() string
type Completer ¶
type Completer struct {
// contains filtered or unexported fields
}
func (*Completer) GetCompletes ¶
Click to show internal directories.
Click to hide internal directories.