CLI for blek! File
Go to file
blek 4bf905a9af
add install section
2023-11-03 15:37:08 +10:00
.gitignore ci script 2023-11-03 03:14:36 +10:00
README.md add install section 2023-11-03 15:37:08 +10:00
ci.sh ignore errors on cleanup step 2023-11-03 13:29:42 +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

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