22 lines
369 B
Go
22 lines
369 B
Go
//go:build encon
|
|
// +build encon
|
|
|
|
package main
|
|
|
|
import "github.com/urfave/cli/v3"
|
|
|
|
func newCryptoDecryptCmd() *cli.Command {
|
|
return &cli.Command{
|
|
Name: "decrypt",
|
|
Usage: "decrypt incoming text",
|
|
Flags: []cli.Flag{
|
|
&cli.StringFlag{
|
|
Name: "text",
|
|
Aliases: []string{"t"},
|
|
Required: true,
|
|
},
|
|
},
|
|
Action: cryptoDeEncryptAction(false),
|
|
}
|
|
}
|