Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogLevelFlagHelpDefinition = `-log-level=[TRACE|DEBUG|INFO|WARN|ERROR]` LogLevelFlagHelpDescription = `Log output level.` )
View Source
const CommandHelpOptionFormat = " %s\t%s\t\n"
Variables ¶
This section is empty.
Functions ¶
func ConfigureLogging ¶
func LogLevelFlag ¶
func LogLevelFlagHelp ¶
Types ¶
type CheckCommand ¶
CheckCommand is a Command implementation
func (*CheckCommand) Help ¶
func (*CheckCommand) Help() string
func (*CheckCommand) Name ¶
func (c *CheckCommand) Name() string
func (*CheckCommand) Run ¶
func (c *CheckCommand) Run(args []string) int
func (*CheckCommand) Synopsis ¶
func (c *CheckCommand) Synopsis() string
type CheckCommandConfig ¶
type CheckCommandConfig struct { AllowedGuideSubcategories string AllowedGuideSubcategoriesFile string AllowedResourceSubcategories string AllowedResourceSubcategoriesFile string IgnoreFileMismatchDataSources string IgnoreFileMismatchResources string IgnoreFileMissingDataSources string IgnoreFileMissingResources string LogLevel string Path string ProviderName string ProvidersSchemaJson string RequireGuideSubcategory bool RequireResourceSubcategory bool }
type VersionCommand ¶
type VersionCommand struct { Version *version.VersionInfo Ui cli.Ui }
VersionCommand is a Command implementation prints the version.
func (*VersionCommand) Help ¶
func (c *VersionCommand) Help() string
func (*VersionCommand) Name ¶
func (c *VersionCommand) Name() string
func (*VersionCommand) Run ¶
func (c *VersionCommand) Run(_ []string) int
func (*VersionCommand) Synopsis ¶
func (c *VersionCommand) Synopsis() string
Click to show internal directories.
Click to hide internal directories.