You text buffer CLI
Project description
Buffered.link CLI
You can find the client app here
Guide
Here is how to make use of this CLI
First thing to do is to set your environment variables so it will store the secret key to access your buffer.
You secret key could be something like sj3c3
or any alphanumeric piece of text.
The CLI reads the value of the environment variable named BFL_SECRET
. It's value is the secret key to your buffer.
Depending on your operating system, you will have different ways to set that up. You will find many tutorials teaching about how to set environment variables on Windows, Linux or Mac depending on the operating sytem your machine is running.
Usage
This step assumes you have setup your secret currectly in your environment variables.
-
To create a new buffer, use the
--save
flag with the cli like below;bfdl --save myName
The CLI will store
myName
in your buffer as is. Llonger pieces of text, should be wrapped in quotesbfdl --save "A really really long piece of text"
-
Get a specific buffer When you save a buffer, you get the ID of that buffer. Make use of that ID to get the value of a saved buffer.
Note : You cannot use this command to retrieve buffered files
bfdl --get ID
-
List all the content of your buffer Use the
--list
flag to list the contents of your bufferbfdl --list
-
To buffer a file, use the
--file
flag This command takes the full path to the file you want to be buffered as well as the name with which you want the file to be saved in your buffer. This name is required and will be helpful on the web client to recongnize your saved file. You will get the ID of the buffered file once it is successfull.Note : The max size of a file you can buffer is 2mb
bfdl --file hello.txt name
-
Download a buffered file with the
--get-file
flagbfdl --get-file ID
This will write the buffered file in the current directory.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file Buffered.link-1.0.3.tar.gz
.
File metadata
- Download URL: Buffered.link-1.0.3.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.61.0 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 266fbae895f204b932a8984b9b77e780d6cbe8bb1a8d21fbdf042d8f7e571a06 |
|
MD5 | 7006be5c077909f9d3191362108cabde |
|
BLAKE2b-256 | 072efbd7a07372f7457f608c9ba04de5662b8f10af544d0a4b7057a1657ff7ed |
File details
Details for the file Buffered.link-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: Buffered.link-1.0.3-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.61.0 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e97d7a5dd690d5802dadb85e89f587e46a2814c253fb2f8855e499c24ce80b |
|
MD5 | d436a540b6be46182131d14852563506 |
|
BLAKE2b-256 | 5ab2485b2284ed6acdd483b679259888b620c055987188a998d941a1a9278307 |