graphql-engine/docs/graphql/core/hasura-cli/hasura_update-cli.rst
Kali Vara Purushotham Santhati c3e60aba28 cli: update cli help texts and docs generation
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: b6909583093baac4a69296721feae149ca6a0605
2021-03-15 15:41:54 +00:00

63 lines
1.4 KiB
ReStructuredText

.. meta::
:description: Update the CLI to latest or a specific version using the Hasura CLI
: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*