EepyFileServer API CLI written in Python
Project description
efs-cli (formerly eepyfileserver-cli)
command line interface for eepyfileserver written in python
prerequisites
- python 3.10 (3.12+ recommended)
eepyfileserver1.1.0-alpha (or later for some features, such as users)
install
pip install efs-cli
usage
log in to an instance
#login fully (lets you upload and download files)
#password is saved in PLAIN TEXT
efs-cli auth "https://example.com" "password123" --custom-api-path (optional) "/meow/v123"
#login only using the url (lets you download PUBLIC files)
efs-cli auth "https://example.com"
efs-cli login ...
see and edit your configs
cli config
efs-cli config
efs-cli config --reset # resets your entire config
efs-cli conf
efs-cli cli-config
efs config
efs-cli efs-config
efs-cli efs-conf
view version
efs-cli version
efs-cli ver
view instance information
efs-cli instance
efs-cli info
list files
efs-cli list
efs-cli ls
efs-cli files
view file/directory metadata
efs-cli metadata <path> --public (optional) # uses public url
efs-cli meta ...
edit a file
efs-cli edit <file_path>
get a url for a file
efs-cli url-for <file_path> --public (optional) --check-if-exists (optional) # --public uses public url, --check-if-exists checks if the file exists on efs
efs-cli url ...
download a file
efs-cli download /example.txt /home/maxeepy/Downloads/example.txt --public (optional) # uses public url
efs-cli get ...
efs-cli d ...
upload a file
efs-cli upload /home/maxeepy/Downloads/example.txt /example.txt
efs-cli post ...
efs-cli up ...
efs-cli put ...
overwrite a file
efs-cli overwrite /home/maxeepy/Downloads/example.txt /example.txt
efs-cli over ...
delete a file
efs-cli delete /example.txt
efs-cli remove ...
efs-cli rm ...
read a file
efs-cli read /example.txt
efs-cli read /example.txt --no-less # doesn't use less
efs-cli cat ...
list users
efs-cli users
efs-cli listusers
efs-cli lsu
add a user
efs-cli adduser dir123 "rw" # or "ro"
efs-cli auser ...
efs-cli au ...
change a user
efs-cli changeuser efskey_123 dir123 "rw" # or "ro"
efs-cli chuser ...
efs-cli chu ...
remove a user
efs-cli removeuser efskey_123 --remove-dir (optional) # removes the user directory if set
efs-cli rmuser ...
efs-cli ru ...
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
efs_cli-1.2.2.tar.gz
(7.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file efs_cli-1.2.2.tar.gz.
File metadata
- Download URL: efs_cli-1.2.2.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9150f3b29d3f16cb3869986d31fcd68ea227b664eb9f658dcb38d9b89d7fd247
|
|
| MD5 |
6bc43442f688d054aaa801c8c030d7ff
|
|
| BLAKE2b-256 |
99943f9340ec96e007766d91475e3505305ec1f0120bd289de4d7a02b7814f40
|
File details
Details for the file efs_cli-1.2.2-py3-none-any.whl.
File metadata
- Download URL: efs_cli-1.2.2-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1594da7cff5171dd10c29e18b31920f965edb0f2f1ab78cd429a16349dec252
|
|
| MD5 |
f472fd81276b5dd553841e61210cf359
|
|
| BLAKE2b-256 |
95d7a45c6af3c79fc8f89e6edf302130f099717105994d18519dac428f628e77
|