From b8c0706a71ccae2d10065ab33715f1058fdbe6b8 Mon Sep 17 00:00:00 2001 From: Levi Durfee Date: Tue, 6 Jan 2026 19:18:18 -0500 Subject: Add ability to decrypt a file --- cmd/goaes/main.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cmd/goaes/main.go') diff --git a/cmd/goaes/main.go b/cmd/goaes/main.go index f0b4368..2ed1fc1 100644 --- a/cmd/goaes/main.go +++ b/cmd/goaes/main.go @@ -48,6 +48,20 @@ func main() { Aliases: []string{"d"}, Usage: "Decrypt a file", Action: commands.Decrypt, + Flags: []cli.Flag{ + &cli.StringFlag{ + Name: "source", + Aliases: []string{"s"}, + Usage: "source file to decrypt", + Required: true, + }, + &cli.StringFlag{ + Name: "destination", + Aliases: []string{"d"}, + Usage: "where to write the decrypted file", + Required: true, + }, + }, }, }, } -- cgit v1.2.3