feat: Write cli executable as a go program (#4)

## Description

**What issue are you solving (or what feature are you adding) and how
are you doing it?**
I have opted to go with Golang as it has inbuilt support for writing
cross-platform executables unlike something like JS. And also, it has
support for running docker using the unix socket directly in code.
This commit is contained in:
Wanjohi
2024-06-25 03:41:05 +03:00
committed by GitHub
parent b1634c4e8d
commit d95b4a84cb
8 changed files with 309 additions and 21 deletions

18
go.mod Normal file
View File

@@ -0,0 +1,18 @@
module github.com/nestriness/cli
go 1.22.2
require (
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/charmbracelet/lipgloss v0.11.0 // indirect
github.com/charmbracelet/x/ansi v0.1.1 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/muesli/termenv v0.15.2 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/spf13/cobra v1.8.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/sys v0.19.0 // indirect
)