/
githubmirror
/
terraform
Обзор
Документация
Войти
/
githubmirror
/
terraform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/command/metadata_command.go
34 строки
687 B
Radek Simko
make copyrightfix
17 фев 2026, 16:56
17 фев 2026, 16:56
0fe906f
Код
Авторство
О чём код?
// Copyright IBM Corp. 2014, 2026 // SPDX-License-Identifier: BUSL-1.1 package command import ( "strings" "github.com/hashicorp/cli" ) // MetadataCommand is a Command implementation that just shows help for // the subcommands nested below it. type MetadataCommand struct { Meta } func (c *MetadataCommand) Run(args []string) int { return cli.RunResultHelp } func (c *MetadataCommand) Help() string { helpText := ` Usage: terraform [global options] metadata <subcommand> [options] [args] This command has subcommands for metadata related purposes. ` return strings.TrimSpace(helpText) } func (c *MetadataCommand) Synopsis() string { return "Metadata related commands" }