-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.go
37 lines (35 loc) · 943 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// ⚡ Fast files encryption command-line tool and package.
//
// See [safelock-cli/safelock] for package references and examples, And the GitHub [repo] for updates.
//
// # Install
//
// For command-line
//
// go install https://github.com/mrf345/safelock-cli@latest
//
// For packages
//
// go get https://github.com/mrf345/safelock-cli@latest
//
// # Examples
//
// Encrypt a path with the default options
//
// safelock-cli encrypt path_to_encrypt encrypted_file_path
//
// And to decrypt
//
// safelock-cli decrypt encrypted_file_path decrypted_files_path
//
// If you want it to run silently with no interaction
//
// echo "password123456" | safelock-cli encrypt path_to_encrypt encrypted_file_path --quiet
//
// [safelock-cli/safelock]: https://pkg.go.dev/github.com/mrf345/safelock-cli/safelock
// [repo]: https://github.com/mrf345/safelock-cli
package main
import "github.com/mrf345/safelock-cli/cmd"
func main() {
cmd.Execute()
}