gob/shell/command/option.go

20 lines
337 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package command
// Flag est une interface représentant des arguments nommés dune ligne de commande.
type Flag interface {
Parser
Helper
ArgName() string
Flags() []string
Value() any
}
// FlagSet est un ensemble de flags.
type FlagSet interface {
Parser
Help() string
HelpRequired() bool
Flags() []Flag
Args() []string
}