Command Line Interface
ZipponDB use a CLI to interact, there is few commands available for now as focus was given to ZiQL. But more commands will be added in the future.
run
Run a ZiQL query on the selected database.
Usage:
- Note that query need to be between ""
db
db metrics
Print some metrics from the db, including: Size on disk and number of entities stored.
Usage:
db new
Create a new empty directory that can be then initialize with a schema.
Usage:
db use
Select an already created database with db new
.
Usage:
db state
Return the state of the database, either Ok
or MissingDatabase
if no database selected or MissingSchema
if no schema was initialize.
Usage:
schema
schema use
Attach a schema to the database using a schema file.
Usage:
schema describe
Print the schema use by the selected database.
Usage:
dump
Export the entier database in a specific format.
Usage:
FORMAT options: csv
, json
, zid
quit
Quit the CLI.
Usage:
help
Write an help message.
Usage: