aboutsummaryrefslogtreecommitdiff
path: root/cmd/eno/cobra.go
diff options
context:
space:
mode:
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
},
}