Open haikalpribadi opened 3 years ago
This feature is partially implemented in https://github.com/graknlabs/console/pull/143
however, we implemented it following the existing architecture of:
<command> <subcommand> <args>
which is reversed: to implement this feature properly, we want to flip the notation around for commands that are scoped to a particular database:
database <name> delete
database <name> schema
You can't do
./grakn server schema
anymore onmaster
. The database schema is now retrievable onDatabase.schema()
(i.e.graknClient.databases().get("name").schema()
(implemented in client-java). We need to implement the feature in console to dodatabase <name> schema
.While we're at it, also change the syntax of
database delete <name>
todatabase <name> delete
.