aboutsummaryrefslogtreecommitdiff
path: root/cmd/eno/cobra.go
diff options
context:
space:
mode:
authorishaan <contact@ishaan.cc>2026-07-12 08:07:47 +0530
committerishaan <contact@ishaan.cc>2026-07-12 08:07:47 +0530
commite9f777d8f7b8b77993f0b88032c33bbef06959c0 (patch)
tree7ad8945fcb4340b8db1ecad6f75fe2a19986667c /cmd/eno/cobra.go
parent65017dfaff1376a16f4d11e76a8aa2d625e05aec (diff)
implement headers
Diffstat (limited to 'cmd/eno/cobra.go')
-rw-r--r--cmd/eno/cobra.go5
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
},
}