28 lines
458 B
Go
28 lines
458 B
Go
//go:build !encon
|
|
// +build !encon
|
|
|
|
package main
|
|
|
|
import (
|
|
"context"
|
|
|
|
"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: func(context.Context, *cli.Command) error {
|
|
return cli.Exit("decryption is turned off", -1)
|
|
},
|
|
}
|
|
}
|