and answer the prompts. This will generate a sample project and README with setup instructions.
Commands
hydra-cli codegen
Code generator
Code generator
USAGE
$ hydra-cli codegen
OPTIONS
-d, --createDb Create the DB and install migrations
-s, --schema=schema [default: ../../schema.graphql] Schema path, can be file or directory
--[no-]install Install dependencies
hydra-cli help [COMMAND]
display help for hydra-cli
display help for <%= config.bin %>
USAGE
$ hydra-cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
hydra-cli plugins
list installed plugins
list installed plugins
USAGE
$ hydra-cli plugins
OPTIONS
--core show core plugins
EXAMPLE
$ hydra-cli plugins
hydra-cli plugins:inspect PLUGIN...
displays installation properties of a plugin
displays installation properties of a plugin
USAGE
$ hydra-cli plugins:inspect PLUGIN...
ARGUMENTS
PLUGIN [default: .] plugin to inspect
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ hydra-cli plugins:inspect myplugin
hydra-cli plugins:install PLUGIN...
installs a plugin into the CLI
installs a plugin into the CLI
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in the CLI without the need to patch and update the whole CLI.
USAGE
$ hydra-cli plugins:install PLUGIN...
ARGUMENTS
PLUGIN plugin to install
OPTIONS
-f, --force yarn install with force flag
-h, --help show CLI help
-v, --verbose
DESCRIPTION
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ hydra-cli plugins:add
EXAMPLES
$ hydra-cli plugins:install myplugin
$ hydra-cli plugins:install https://github.com/someuser/someplugin
$ hydra-cli plugins:install someuser/someplugin
hydra-cli plugins:link PLUGIN
links a plugin into the CLI for development
links a plugin into the CLI for development
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' command will override the user-installed or core plugin implementation. This is useful for development work.
USAGE
$ hydra-cli plugins:link PLUGIN
ARGUMENTS
PATH [default: .] path to plugin
OPTIONS
-h, --help show CLI help
-v, --verbose
DESCRIPTION
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLE
$ hydra-cli plugins:link myplugin
hydra-cli plugins:uninstall PLUGIN...
removes a plugin from the CLI
removes a plugin from the CLI
USAGE
$ hydra-cli plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
OPTIONS
-h, --help show CLI help
-v, --verbose
ALIASES
$ hydra-cli plugins:unlink
$ hydra-cli plugins:remove
hydra-cli plugins:update
update installed plugins
update installed plugins
USAGE
$ hydra-cli plugins:update
OPTIONS
-h, --help show CLI help
-v, --verbose