GoFileCLI/README.md
2024-08-22 21:48:44 +02:00

32 lines
493 B
Markdown

# Installation :
## Set env variables :
Get API token from https://gofile.io/myProfile.
Copy folderId from a folder you own.
Windows :
```bash
setx GOPLOAD_TOKEN "XXXXXXX"
setx GOPLOAD_PRIVATE_PARENT_ID "UUID"
```
(Reluch Command Prompt to take effect)
Linux/MacOS :
```bash
export GOPLOAD_TOKEN = "XXXXXXX"
export GOPLOAD_PRIVATE_PARENT_ID = "UUID"
```
# Usage :
Upload a file :
```bash
gopload -i 'file.txt'
````
# To do :
- env via CLI
- finish README.md
- download
- build + release