mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 04:51:35 +03:00
63 lines
1.4 KiB
ReStructuredText
63 lines
1.4 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 latest or a specific version.
|
|
|
|
Synopsis
|
|
~~~~~~~~
|
|
|
|
|
|
Update the CLI to latest or a specific 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
|
|
|
|
# Update CLI to a specific version (say v1.2.0-beta.1):
|
|
hasura update-cli --version v1.2.0-beta.1
|
|
|
|
|
|
Options
|
|
~~~~~~~
|
|
|
|
::
|
|
|
|
-h, --help help for update-cli
|
|
--version string a specific version to install
|
|
|
|
Options inherited from parent commands
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
::
|
|
|
|
--envfile string .env filename to load ENV vars from (default ".env")
|
|
--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*
|