# Functions
NewCommand generate a `*cobra.Command` by Executor.
No description provided by the author
No description provided by the author
# Interfaces
Executor used to generate a cobra.Command
it defines the basic info for constructing cobra.Command, such as usage message, short description and execution method.
WithEnv if an executor impls `WithEnv`, it allows executor's flag to be parsed from env vars.
WithExample defines executor's examples of how to use.
WithLong defines executor's lang help message.
# Type aliases
LocalizeHelper help translate flag help message by i18n message id.