graphql-engine/docs/graphql/manual/hasura-cli/hasura_update-cli.rst
2020-02-24 21:49:14 +05:30

58 lines
1.1 KiB
ReStructuredText

.. meta::
:description: Use hasura update-cli to update the Hasura CLI to the latest version
:keywords: hasura, docs, CLI, hasura update-cli
.. _hasura_update-cli:
Hasura CLI: hasura update-cli
-----------------------------
Update the CLI to the latest version.
Synopsis
~~~~~~~~
Update the CLI to the latest version.
::
hasura update-cli [flags]
Examples
~~~~~~~~
::
# Update CLI to latest version:
hasura update-cli
# To disable auto-update check on the CLI, set
# "show_update_notification": false
# in ~/.hasura/config.json
Options
~~~~~~~
::
-h, --help help for update-cli
Options inherited from parent commands
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
--log-level string log level (DEBUG, INFO, WARN, ERROR, FATAL) (default "INFO")
--no-color do not colorize output (default: false)
--project string directory where commands are executed (default: current dir)
--skip-update-check skip automatic update check on command execution
SEE ALSO
~~~~~~~~
* :ref:`hasura <hasura>` - Hasura GraphQL engine command line tool
*Auto generated by spf13/cobra*