Interactive CLI / Shell #16
Replies: 4 comments 1 reply
-
Why use a restart option ? Reset-admin-user could be a potential security problem as parameter -> every user could reset the credentials and access with default login. I'll not use it as parameter flag. The same as dump-data. get-key and set-key -> get - set. Thanks for your idea! |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
a socket can be read with textproto and handle commands by "line", no need to split anything. so we could integrate the cli tool into the main binary and just not boot the dare-db, when called with args. i have some socket code to copy and paste *g |
Beta Was this translation helpful? Give feedback.
-
Just an idea for future of a possible CLI integration: make use of usql |
Beta Was this translation helpful? Give feedback.
-
Database should also be reachable also through a CLI. There should be 2 types of commands for CLI:
Parameters for CLI
<HOST>:PORT
)Commands for interactive shell
<USER>
<KEY>
<KEY> <VALUE>
Further materials for inspiration:
Beta Was this translation helpful? Give feedback.
All reactions