|
||
---|---|---|
.gitignore | ||
README.md | ||
ci.sh | ||
go.mod | ||
go.sum | ||
main.go | ||
package.env |
README.md
blek! File CLI
This is the CLI for blek! File.
You can download binaries here
It is written in Go since I thought that it would be fun to try out this cool shiny language, which I regret dearly and can't imagine the pain maintaining this.
Also this app utilizes the bFile's cURL API
Building
$ git clone this://repo
$ cd repo
$ . ./package.env
$ go build . -ldflags "-s -w -X main.version=$VERSION"
$ ./bfile_cli
Installing
Arch (AUR)
$ paru -S bfile-cli # or yay
Debugging
Same as the build, I guess. I am not really a go programmer, but I suppose that if you want to debug this, you already know the go way to debug a CLI app and this section is useless for you.
Usage
$ bfile_cli upload file.txt https://instance.url.com