summaryrefslogtreecommitdiff
path: root/Zettelkast/Notes/010420240957 - spf13 cobra.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2024-08-21 16:22:08 +0200
committerJasper Ras <jras@hostnet.nl>2024-08-21 16:22:08 +0200
commitf3711a93832df46dc245075df08b9ebfc05266e9 (patch)
tree167c4c4a9bedd6b94392b20eb6e68bc38656d456 /Zettelkast/Notes/010420240957 - spf13 cobra.md
parent26b2ee8fe95026e84bd1721910d575db72cc1b3f (diff)
forgot to commit for a while
Diffstat (limited to 'Zettelkast/Notes/010420240957 - spf13 cobra.md')
-rw-r--r--Zettelkast/Notes/010420240957 - spf13 cobra.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/Zettelkast/Notes/010420240957 - spf13 cobra.md b/Zettelkast/Notes/010420240957 - spf13 cobra.md
new file mode 100644
index 0000000..e867fe6
--- /dev/null
+++ b/Zettelkast/Notes/010420240957 - spf13 cobra.md
@@ -0,0 +1,13 @@
+Cobra is a [[Golang]] library for creating command-line interfaces.
+
+CLI for generating stuff:
+```
+go install github.com/spf13/cobra-cli@latest
+```
+
+The library itself:
+```
+go get -u github.com/spf13/cobra@latest
+
+import "github.com/spf13/cobra"
+```