Documentation ¶
Overview ¶
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdGenFigSpec ¶
Types ¶
type BaseSuggestion ¶
type BaseSuggestion struct {
// contains filtered or unexported fields
}
type Option ¶
type Option struct { *BaseSuggestion // contains filtered or unexported fields }
func (*Option) ToTypescript ¶
type Spec ¶
type Spec struct { *Subcommand // contains filtered or unexported fields }
func MakeFigSpec ¶
func (*Spec) ToTypescript ¶
type Subcommand ¶
type Subcommand struct { *BaseSuggestion // contains filtered or unexported fields }
func (*Subcommand) ToTypescript ¶
func (subcommand *Subcommand) ToTypescript() string
type Subcommands ¶
type Subcommands []Subcommand
func (*Subcommands) ToTypescript ¶
func (subcommands *Subcommands) ToTypescript() string
type Suggestion ¶
type Suggestion struct { *BaseSuggestion // contains filtered or unexported fields }
type SuggestionType ¶
type SuggestionType int
const ( FOLDER SuggestionType = iota FILE ARG SUBCOMMAND OPTION SPECIAL SHORTCUT )
Click to show internal directories.
Click to hide internal directories.