CLI for blek! File
Go to file
blek 79e2b5c986
switch back to old builds names format; delete files before build
2023-11-03 03:19:57 +10:00
.gitignore ci script 2023-11-03 03:14:36 +10:00
README.md move the version to a .env file 2023-11-03 03:11:50 +10:00
ci.sh switch back to old builds names format; delete files before build 2023-11-03 03:19:57 +10:00
go.mod init repo 2023-11-03 02:09:45 +10:00
go.sum init repo 2023-11-03 02:09:45 +10:00
main.go move the version to a .env file 2023-11-03 03:11:50 +10:00
package.env move the version to a .env file 2023-11-03 03:11:50 +10:00

README.md

blek! File CLI CI/CD Build status

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

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