mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-06 11:02:41 +03:00
Mod: Added flaggy to vendor directory
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
This commit is contained in:
14
vendor/github.com/integrii/flaggy/positionalValue.go
generated
vendored
Normal file
14
vendor/github.com/integrii/flaggy/positionalValue.go
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
package flaggy
|
||||
|
||||
// PositionalValue represents a value which is determined by its position
|
||||
// relative to where a subcommand was detected.
|
||||
type PositionalValue struct {
|
||||
Name string // used in documentation only
|
||||
Description string
|
||||
AssignmentVar *string // the var that will get this variable
|
||||
Position int // the position, not including switches, of this variable
|
||||
Required bool // this subcommand must always be specified
|
||||
Found bool // was this positional found during parsing?
|
||||
Hidden bool // indicates this positional value should be hidden from help
|
||||
defaultValue string // used for help output
|
||||
}
|
Reference in New Issue
Block a user