Better performance, higher efficiency and more features.
Project description
DB Explorer(DBE) command line tools
Better performance, higher efficiency and more features.
Usage
Take three minutes to fully grasp!
First, connect to server
You can connect to one DBE backend server or DBE Service Discovery Network
dbe-cli connect [hostname | ip]
The second and last step, type command
ls # ['ccubase', 'base', 'master', 'Co_1']
cd master # Now, you moved to 'master' node
pwd # master
You have completed all the beginner tutorials! You can now take a look at Command cheat list
Command cheat list
help [<command>]
DESCRIPTION
Print all available commands(listed below)
connect [<hostname | IP>]
DESCRIPTION
Connect to DBE server, default is localhost
cd [<options>]
DESCRIPTION
Change work node
OPTIONS
cd Change directory to root
cd path Change directory to path
cd - Change directory to previous path
pwd
DESCRIPTION
Print currently node
ls [-[an]]
DESCRIPTION
print all directly keys under current node and attributes of current node
OPTIONS
ls List sub nodes and attributes
ls -n List only sub nodes
ls -a List only attributes
tree [-n] [<node name | path>]
DESCRIPTION
Print all nodes of current node in the form of tree
OPTIONS
tree -d Limit the depth of recursion
mkdir [-p <path>] | <node name>
DESCRIPTION
Create new node
OPTIONS
mkdir -p Make parent nodes if needed
touch
DESCRIPTION
Create new node
rm [-[rf]] <node name | path>
DESCRIPTION
Remove specific node(default current)
cp [-r] path_I path_II:
DESCRIPTION
Copy node or attribute
mv path_I path_II:
DESCRIPTION
Move node between different parent
export:
DESCRIPTION
Export new file
more:
DESCRIPTION
Lazy print result
history:
DESCRIPTION
Print all used commands
grep:
DESCRIPTION
Filter result
find:
DESCRIPTION
Filter result
limit number:
DESCRIPTION
Show limited results
skip number:
DESCRIPTION
Skip specific results
exec filename:
DESCRIPTION
Read and run commands in file
mode [kv | dict]
DESCRIPTION
up key(↑):
DESCRIPTION
Switch to prev command
down key(↓):
DESCRIPTION
Switch to later command
ctrl+r:
DESCRIPTION
Recursive search history command
pipeline(|):
DESCRIPTION
Connect multiple commands
redirect([> | >>]):
DESCRIPTION
Redirect result to file
Project details
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 dbe_cli-0.1.3.tar.gz
.
File metadata
- Download URL: dbe_cli-0.1.3.tar.gz
- Upload date:
- Size: 50.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a804d5165a1b4f734bae7e45d50c293c62014872d483acf36645c5a614e0ac1b |
|
MD5 | f86afc84c663275481683ce4dd4b77a9 |
|
BLAKE2b-256 | cbde257eba7d2f65c1ae4f2edcdc68fda1b6d6954ad99ba26dcd2e41d3bdd202 |
File details
Details for the file dbe_cli-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: dbe_cli-0.1.3-py3-none-any.whl
- Upload date:
- Size: 39.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34ae8246a9fd01d1243140251357c643962cf33471c60afaea7cacbb09e8ebb1 |
|
MD5 | a94a60ece815962d769c2c3e4f6442a3 |
|
BLAKE2b-256 | 379f064db62e9b03ec95fc476481e0ee48cf11fd85354f8e4dc57097bcc85327 |