Skip to main content

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

dbe_cli-0.1.2.tar.gz (50.4 kB view hashes)

Uploaded Source

Built Distribution

dbe_cli-0.1.2-py3-none-any.whl (39.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page