This is a proof of concept following this RFC. It works together with this module repository.
You can follow the discussion in the issue in the Hasura GE repository.
You need to install Deno first.
Then you can install the CLI supplement with:
deno install -A hasura-sup https://github.com/platyplus/hasura-modules/raw/master/index.ts
Note: the script installs the Hasura CLI if not installed already.
The Hasura CLI supplement wraps and extends Hasura CLI with the following modules commands:
-
hasura-sup modules list
-
hasura-sup modules install <module-name>
-
hasura-sup modules uninstall <module-name>