aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-06-04 01:30:41 +0700
committerShulhan <ms@kilabit.info>2023-06-04 01:30:41 +0700
commit690c4dafbc06ff5d045b32780e7b1c8b9587892a (patch)
tree8e5b15f55801ebc3ae01a3ff783f6b54c4b7b577 /cmd
parent0acd87783d1bd3ab330b4c94f5adc32d50f9a74c (diff)
downloadpakakeh.go-690c4dafbc06ff5d045b32780e7b1c8b9587892a.tar.xz
all: update description of some command and in README
Mention that some of the commands are example of implementation of the library.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/smtpcli/main.go4
-rw-r--r--cmd/totp/main.go5
2 files changed, 9 insertions, 0 deletions
diff --git a/cmd/smtpcli/main.go b/cmd/smtpcli/main.go
index bea03d58..215ac370 100644
--- a/cmd/smtpcli/main.go
+++ b/cmd/smtpcli/main.go
@@ -3,6 +3,10 @@
// license that can be found in the LICENSE file.
// Command smtpcli provide a command line interface to SMTP client protocol.
+// This is an example of implementation Client from
+// [lib/smtp].
+//
+// [lib/smtp]: https://pkg.go.dev/github.com/shuLhan/share/lib/smtp
package main
import (
diff --git a/cmd/totp/main.go b/cmd/totp/main.go
index bd28a278..aef717b0 100644
--- a/cmd/totp/main.go
+++ b/cmd/totp/main.go
@@ -1,4 +1,9 @@
// Program totp generate Time-based One-time Password from secret key.
+// This is just an example of implementation of [lib/totp]
+// See [gotp] for a complete implementation that support encryption.
+//
+// [lib/totp]: https://pkg.go.dev/github.com/shuLhan/share/lib/totp
+// [gotp]: https://sr.ht/~shulhan/gotp
package main
import (