Files
shadowdaoandClaude Sonnet 5.5 962d708fdd Rename Go module paths to repo.anhonesthost.net/CyberCoveLLC/threshold
Rename root, api and sdk module paths (imports, go.mod, go_package,
ldflags, build scripts, buf configs) and regenerate protobuf/gateway
code with the project's pinned toolchain. Wire identifiers unchanged.
api gets a local replace for sdk; root/api/sdk require v0.1.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 10:33:41 -07:00

46 lines
1.1 KiB
Go

// Copyright IBM Corp. 2020, 2026
// SPDX-License-Identifier: BUSL-1.1
package config
import (
"repo.anhonesthost.net/CyberCoveLLC/threshold/internal/cmd/base"
"github.com/mitchellh/cli"
)
var _ cli.Command = (*Command)(nil)
type Command struct {
*base.Command
}
func (c *Command) Synopsis() string {
return "Manage the local client's configuration"
}
func (c *Command) Help() string {
return base.WrapForHelpText([]string{
"Usage: threshold config <subcommand> [options] [args]",
"",
" This command groups subcommands for operators interacting with Threshold's config files. Here are a few examples of config commands:",
"",
" Encrypt sensitive values in a config file:",
"",
" $ threshold config encrypt config.hcl",
"",
" Decrypt sensitive values in a config file:",
"",
" $ threshold config decrypt config.hcl",
"",
" Read a stored token out:",
"",
" $ threshold config get-token",
"",
" Please see the individual subcommand help for detailed usage information.",
})
}
func (c *Command) Run(args []string) int {
return cli.RunResultHelp
}