mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 21:12:09 +03:00
46 lines
681 B
ReStructuredText
46 lines
681 B
ReStructuredText
|
.. _hasura_user-info:
|
||
|
|
||
|
Hasura CLI: hasura user-info
|
||
|
----------------------------
|
||
|
|
||
|
Get details for current logged in user
|
||
|
|
||
|
Synopsis
|
||
|
~~~~~~~~
|
||
|
|
||
|
|
||
|
Show the email and token for the logged in user
|
||
|
|
||
|
::
|
||
|
|
||
|
hasura user-info [flags]
|
||
|
|
||
|
Examples
|
||
|
~~~~~~~~
|
||
|
|
||
|
::
|
||
|
|
||
|
# Get the logged in user's info:
|
||
|
$ hasura user-info
|
||
|
|
||
|
Options
|
||
|
~~~~~~~
|
||
|
|
||
|
::
|
||
|
|
||
|
-h, --help help for user-info
|
||
|
|
||
|
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*
|