A simple CLI tool for Bifrost. Biforst is a package for uploading files to cloud storage services. It provides a simple and easy-to-use interface for uploading files to cloud storage services, such as Amazon S3 and Google Cloud Storage.
To install Bifrost, run the following command:
go install github.com/showbaba/bifrost-cli@latest
To use Bifrost CLI, run the following command:
bifrost-cli upload -d -r
You will be prompted to enter the following information:
- Cloud provider name (e.g. s3, gcs)
- Default bucket name
- Access key
- Secret key
- Region name
- Zone name
- File path
- File name
After providing the required details, the CLI tool will start uploading your file to the cloud storage service.
The following command options are available:
* --enable-debug or -d: Enables debug mode.
* --public-read or -r: Makes uploaded files public.
If you don't want to install Bifrost CLI via Go, you can download the binary file for your operating system from the releases page on GitHub.
To use the binary file, follow these steps:
-
Download the appropriate binary file for your operating system from the releases page on GitHub.
-
Open a terminal or command prompt window.
-
Navigate to the directory where you downloaded the binary file.
-
Run the following command:
On Windows:
bifrost-cli.exe upload -d -r
On Linux or macOS:
./bifrost-cli upload -d -r
You will be prompted to enter the required information as described above.
If you want to contribute to Bifrost CLI, please submit a pull request on GitHub.
Bifrost CLI is released under the MIT License. See LICENSE for details.