30 lines
975 B
Markdown
30 lines
975 B
Markdown
<h1>
|
|
blek! File CLI
|
|
<a href='https://jenkins.blek.codes/job/bfile_cli'>
|
|
<img src='https://jenkins.blek.codes/job/bfile_cli/badge/icon?style=plastic' alt='CI/CD Build status'></img>
|
|
</a>
|
|
</h1>
|
|
|
|
This is the CLI for [blek! File](https://git.blek.codes/blek/bfile).
|
|
You can download binaries [here]('https://jenkins.blek.codes/job/bfile_cli)
|
|
|
|
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](https://git.blek.codes/blek/bfile/pulls/15)
|
|
|
|
## Building
|
|
```sh
|
|
$ git clone this://repo
|
|
$ cd repo
|
|
$ go build .
|
|
$ ./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
|
|
```sh
|
|
$ bfile_cli upload file.txt https://instance.url.com
|
|
```
|