Hydra CLI
A cli tool for running a Hydra query node
Install
Using npx:
$ alias hydra-cli='npx @dzlzv/hydra-cli'or install via npm:
npm install -g @dzlzv/hydra-cliand then
$ hydra-cli [COMMAND]Quickstart
Run
$ hydra-cli scaffoldand answer the prompts. This will generate a sample project and README with setup instructions.
Commands
hydra-cli codegen
hydra-cli codegenCode generator
hydra-cli help [COMMAND]
hydra-cli help [COMMAND]display help for hydra-cli
See code: @oclif/plugin-help
hydra-cli plugins
hydra-cli pluginslist installed plugins
See code: @oclif/plugin-plugins
hydra-cli plugins:inspect PLUGIN...
hydra-cli plugins:inspect PLUGIN...displays installation properties of a plugin
See code: @oclif/plugin-plugins
hydra-cli plugins:install PLUGIN...
hydra-cli plugins:install PLUGIN...installs a plugin into the CLI
See code: @oclif/plugin-plugins
hydra-cli plugins:link PLUGIN
hydra-cli plugins:link PLUGINlinks a plugin into the CLI for development
See code: @oclif/plugin-plugins
hydra-cli plugins:uninstall PLUGIN...
hydra-cli plugins:uninstall PLUGIN...removes a plugin from the CLI
See code: @oclif/plugin-plugins
hydra-cli plugins:update
hydra-cli plugins:updateupdate installed plugins
See code: @oclif/plugin-plugins
hydra-cli preview
hydra-cli previewPreview GraphQL API schema
hydra-cli scaffold
hydra-cli scaffoldStarter kit: generates a directory layout and a sample schema file
Last updated
Was this helpful?