aoimd-cli

command
v0.0.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

README

Aoimd

Another One In Memory Database CLI

Description

Simple client for interacting with server application

Usage

aoimd-cli

Flags

By default it will try to connect to localhost:1593 server instance

  • -h string flag for host
  • -u string flag for user
  • -p string flag for pass

Examples:

aoimd-cli -h localhost:1593

aoimd-cli -u admin -p pass

aoimd-cli -u admin

Commands

After connection aoimd-cli sends help command by default

Usage:
<command> <args>

Commands:
        help     shows this message
        auth     auth database command (Usage: auth user pass)
        select   select database command (Usage: select <database_name>)
        get      get command (Usage: get [<databasename>.]<key>)
        set      set database command (Usage: set [<databasename>.]<key> <value>)
        keys     keys database command (Usage: keys [keysregexp])
        exit     exits from server

command help with arg will print arg help

help set
set      set database command (Usage: set [<databasename>.]<key> <value>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL