This commit is contained in:
2023-07-11 16:15:49 +10:00
parent 91f7cbbd06
commit 3dba047793
6 changed files with 72 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
package spt
import "github.com/spf13/cobra"
import (
"github.com/spf13/cobra"
)
var (
rootCmd = &cobra.Command{
@@ -29,6 +31,18 @@ func init() {
func encrypt(cmd *cobra.Command, args []string) error {
//TODO: implementation
//// this is the sample of reading password
//fmt.Print("input passphrase: ")
//passwd, err := privacy.ReadPassword()
//if err != nil {
// return err
//}
//fmt.Println()
//
//fmt.Printf("password: %s\n", passwd)
//// end of sample
return nil
}