enable gitea actions
This commit is contained in:
21
cmd/cli/main_encon.go
Normal file
21
cmd/cli/main_encon.go
Normal file
@ -0,0 +1,21 @@
|
||||
//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),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user