Files
terraform-docs/internal/cli/annotations.go
Khosrow Moossavi 44b3361b22 Add license header to codebase files
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-01-28 12:29:11 -05:00

21 lines
519 B
Go

/*
Copyright 2021 The terraform-docs Authors.
Licensed under the MIT license (the "License"); you may not
use this file except in compliance with the License.
You may obtain a copy of the License at the LICENSE file in
the root directory of this source tree.
*/
package cli
// Annotations returns set of annotations for cobra.Commands,
// specifically the command 'name' and command 'kind'
func Annotations(cmd string) map[string]string {
return map[string]string{
"command": cmd,
"kind": "formatter",
}
}