mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 09:51:59 +03:00
54 lines
1.2 KiB
ReStructuredText
54 lines
1.2 KiB
ReStructuredText
.. _hasura_console:
|
|
|
|
Hasura CLI: hasura console
|
|
--------------------------
|
|
|
|
Open console to manage database and try out APIs
|
|
|
|
Synopsis
|
|
~~~~~~~~
|
|
|
|
|
|
Run a web server to serve Hasura Console for GraphQL Engine to manage database and build queries
|
|
|
|
::
|
|
|
|
hasura console [flags]
|
|
|
|
Examples
|
|
~~~~~~~~
|
|
|
|
::
|
|
|
|
# Start console:
|
|
hasura console
|
|
|
|
# Start console on a different address and ports:
|
|
hasura console --address 0.0.0.0 --console-port 8080 --api-port 8081
|
|
|
|
Options
|
|
~~~~~~~
|
|
|
|
::
|
|
|
|
--access-key string access key for Hasura GraphQL Engine
|
|
--address string address to use (default "localhost")
|
|
--api-port string port for serving migrate api (default "9693")
|
|
--console-port string port for serving console (default "9695")
|
|
--endpoint string http(s) endpoint for Hasura GraphQL Engine
|
|
-h, --help help for console
|
|
|
|
Options inherited from parent commands
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
::
|
|
|
|
--project string hasura project directory where the commands should be executed. (default: current directory)
|
|
|
|
SEE ALSO
|
|
~~~~~~~~
|
|
|
|
* :ref:`hasura <hasura>` - hasura controls the hasura project
|
|
|
|
*Auto generated by spf13/cobra*
|