diff options
| author | ishaan <contact@ishaan.cc> | 2026-07-12 08:07:47 +0530 |
|---|---|---|
| committer | ishaan <contact@ishaan.cc> | 2026-07-12 08:07:47 +0530 |
| commit | e9f777d8f7b8b77993f0b88032c33bbef06959c0 (patch) | |
| tree | 7ad8945fcb4340b8db1ecad6f75fe2a19986667c /cmd/eno/cobra.go | |
| parent | 65017dfaff1376a16f4d11e76a8aa2d625e05aec (diff) | |
implement headers
Diffstat (limited to 'cmd/eno/cobra.go')
| -rw-r--r-- | cmd/eno/cobra.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/eno/cobra.go b/cmd/eno/cobra.go index 1199aa0..1ee441d 100644 --- a/cmd/eno/cobra.go +++ b/cmd/eno/cobra.go @@ -4,6 +4,7 @@ import ( "fmt" "github.com/spf13/cobra" + "gitlab.com/whiteboardguy/eno/internal/crud" ) var cobraCmd = &cobra.Command{ @@ -20,7 +21,7 @@ var encryptCmd = &cobra.Command{ if output == "" { return fmt.Errorf("output file required (-o)") } - rawEncryptFile(args[0], output) + crud.RawEncryptFile(args[0], output) return nil }, } @@ -34,7 +35,7 @@ var decryptCmd = &cobra.Command{ if output == "" { return fmt.Errorf("output file required (-o)") } - rawDecryptFile(args[0], output) + crud.RawDecryptFile(args[0], output) return nil }, } |