go-crypt/cmd/crypt/cmd.go
Snider fde12e1539 feat: migrate crypt and test commands from CLI
Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-21 19:38:16 +00:00

22 lines
524 B
Go

package crypt
import "forge.lthn.ai/core/go/pkg/cli"
func init() {
cli.RegisterCommands(AddCryptCommands)
}
// AddCryptCommands registers the 'crypt' command group and all subcommands.
func AddCryptCommands(root *cli.Command) {
cryptCmd := &cli.Command{
Use: "crypt",
Short: "Cryptographic utilities",
Long: "Encrypt, decrypt, hash, and checksum files and data.",
}
root.AddCommand(cryptCmd)
addHashCommand(cryptCmd)
addEncryptCommand(cryptCmd)
addKeygenCommand(cryptCmd)
addChecksumCommand(cryptCmd)
}