graphql-engine/docs/graphql/manual/hasura-cli/hasura_console.rst
2018-09-11 16:41:24 +05:30

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*