From f3711a93832df46dc245075df08b9ebfc05266e9 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Wed, 21 Aug 2024 16:22:08 +0200 Subject: forgot to commit for a while --- Zettelkast/Notes/010420240957 - spf13 cobra.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Zettelkast/Notes/010420240957 - spf13 cobra.md (limited to 'Zettelkast/Notes/010420240957 - spf13 cobra.md') 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" +``` -- cgit v1.2.3