Skip to content

Commit

Permalink
Start using :gelcmd:
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Feb 14, 2025
1 parent 696acdd commit 446e876
Show file tree
Hide file tree
Showing 50 changed files with 65 additions and 65 deletions.
2 changes: 1 addition & 1 deletion docs/ai/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Extension configuration
=======================

The AI extension may be configured via our UI or via EdgeQL. To use the
built-in UI, access it by running ``gel ui``. If you have the extension
built-in UI, access it by running :gelcmd:`ui`. If you have the extension
enabled in your schema as shown above and have migrated that schema change, you
will see the "AI Admin" icon in the left-hand toolbar.

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Options
Specifies the named instance to connect to. The actual connection
parameters are stored in ``<edgedb_config_dir>/credentials`` and are
usually created by :ref:`ref_cli_edgedb_instance_create` or similar
commands. Run ``gel info`` to see the location of
commands. Run :gelcmd:`info` to see the location of
``<edgedb_config_dir>`` on your machine.

This option overrides host and port.
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_branch/edgedb_branch_create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Create a new :ref:`branch <ref_datamodel_branches>`.
Description
===========

``gel branch create`` creates a new branch with the same schema as the
:gelcmd:`branch create` creates a new branch with the same schema as the
current branch specified in ``$CONFIG/credentials``. Without any options, it is
equivalent to :eql:stmt:`create schema branch`.

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_branch/edgedb_branch_wipe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Description
The contents of the branch will be destroyed and the schema reset to its
state before any migrations, but the branch itself will be preserved.

``gel branch wipe`` is a terminal command equivalent to
:gelcmd:`branch wipe` is a terminal command equivalent to
:eql:stmt:`reset schema to initial`.


Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_branch/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
gel branch
==========

The ``gel branch`` group of commands contains various branch management
The :gelcmd:`branch` group of commands contains various branch management
tools.

.. toctree::
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_cli_upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Upgrade the CLI binary.
Description
===========

``gel cli upgrade`` is a terminal command used to upgrade the CLI
:gelcmd:`cli upgrade` is a terminal command used to upgrade the CLI
tools to keep them up-to-date.


Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_cloud/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ offers tools to manage your instances running on our Gel Cloud.

.. warning:: CI users and scripters

The ``gel cloud login`` and ``gel cloud logout`` commands are not
The :gelcmd:`cloud login` and :gelcmd:`cloud logout` commands are not
intended for use in scripting and CI. Instead, you should generate a secret
key in the |Gel| Cloud UI or by running
:ref:`ref_cli_edgedb_cloud_secretkey_create` and set the
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Configure the |Gel| server.
Description
===========

``gel configure`` is a terminal command used to alter the
:gelcmd:`configure` is a terminal command used to alter the
configuration of a |Gel| instance. There are three types of
configuration actions that can be performed.

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_database/edgedb_database_drop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Drop a :ref:`database <ref_datamodel_databases>`.
Description
===========

``gel database drop`` is a terminal command equivalent to
:gelcmd:`database drop` is a terminal command equivalent to
:eql:stmt:`drop database`.


Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_database/edgedb_database_wipe.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Destroy the contents of a :ref:`database <ref_datamodel_databases>`
Description
===========

``gel database wipe`` is a terminal command equivalent to
:gelcmd:`database wipe` is a terminal command equivalent to
:eql:stmt:`reset schema to initial`.

The database wiped will be one of these values: the value passed for the
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_database/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
gel database
============

The ``gel database`` group of commands contains various database
The :gelcmd:`database` group of commands contains various database
manipulation tools.

.. note::
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_describe/edgedb_describe_object.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Describe a named schema object.
Description
===========

``gel describe`` is a terminal command equivalent to
:gelcmd:`describe` is a terminal command equivalent to
:eql:stmt:`describe object <describe>` introspection command.


Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_describe/edgedb_describe_schema.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ database specified by the connection options.
Description
===========

``gel describe schema`` is a terminal command equivalent to
:gelcmd:`describe schema` is a terminal command equivalent to
:eql:stmt:`describe schema as sdl <describe>` introspection command.


Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_describe/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
gel describe
============

The ``gel describe`` group of commands contains various schema
The :gelcmd:`describe` group of commands contains various schema
introspection tools.

.. toctree::
Expand Down
6 changes: 3 additions & 3 deletions docs/cli/edgedb_instance/edgedb_instance_create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ Initialize a new |Gel| instance.
Description
===========

``gel instance create`` is a terminal command for making a new Gel
:gelcmd:`instance create` is a terminal command for making a new Gel
instance and creating a corresponding credentials file in
``<edgedb_config_dir>/credentials``. Run ``gel info`` to see the path to
``<edgedb_config_dir>/credentials``. Run :gelcmd:`info` to see the path to
``<edgedb_config_dir>`` on your machine.

.. note::

The ``gel instance create`` command is not intended for use with
The :gelcmd:`instance create` command is not intended for use with
self-hosted instances. You can follow one of our :ref:`deployment guides
<ref_guide_deployment>` for information on how to create one of these
instances.
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_instance/edgedb_instance_credentials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Display instance credentials.
Description
===========

``gel instance credentials`` is a terminal command for displaying the
:gelcmd:`instance credentials` is a terminal command for displaying the
credentials of an |Gel| instance.


Expand Down
4 changes: 2 additions & 2 deletions docs/cli/edgedb_instance/edgedb_instance_destroy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Remove an |Gel| instance.
Description
===========

``gel instance destroy`` is a terminal command for removing an (or edgedb.toml)
:gelcmd:`instance destroy` is a terminal command for removing an (or edgedb.toml)
instance and all its data.

.. note::

The ``gel instance destroy`` command is not intended for use with
The :gelcmd:`instance destroy` command is not intended for use with
self-hosted instances.


Expand Down
4 changes: 2 additions & 2 deletions docs/cli/edgedb_instance/edgedb_instance_link.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ instance name to simplify future connections.
Description
===========

``gel instance link`` is a terminal command used to bind a set of
:gelcmd:`instance link` is a terminal command used to bind a set of
connection credentials to an instance name. This is typically used as
a way to simplify connecting to remote |Gel| database instances.
Usually there's no need to do this for local instances as
Expand All @@ -24,7 +24,7 @@ instance.

.. note::

Unlike other ``gel instance`` sub-commands, ``gel instance link`` is
Unlike other :gelcmd:`instance` sub-commands, :gelcmd:`instance link` is
recommended to link self-hosted instances. This can make other operations
like migrations, dumps, and restores more convenient.

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_instance/edgedb_instance_list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Show all |Gel| instances.
Description
===========

``gel instance list`` is a terminal command that shows all the
:gelcmd:`instance list` is a terminal command that shows all the
registered |Gel| instances and some relevant information about them
(status, port, etc.).

Expand Down
4 changes: 2 additions & 2 deletions docs/cli/edgedb_instance/edgedb_instance_logs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Show instance logs.
Description
===========

``gel instance logs`` is a terminal command for displaying the logs
:gelcmd:`instance logs` is a terminal command for displaying the logs
for a given |Gel| instance.

.. note::

The ``gel instance logs`` command is not intended for use with
The :gelcmd:`instance logs` command is not intended for use with
self-hosted instances.


Expand Down
4 changes: 2 additions & 2 deletions docs/cli/edgedb_instance/edgedb_instance_restart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Restart an |Gel| instance.
Description
===========

``gel instance restart`` is a terminal command for restarting an
:gelcmd:`instance restart` is a terminal command for restarting an
|Gel| instance.

.. note::

The ``gel instance restart`` command is not intended for use with
The :gelcmd:`instance restart` command is not intended for use with
self-hosted instances.


Expand Down
4 changes: 2 additions & 2 deletions docs/cli/edgedb_instance/edgedb_instance_revert.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ Description

When :ref:`ref_cli_edgedb_instance_upgrade` performs a major version
upgrade on an instance the old instance data is kept around. The
``gel instance revert`` command removes the new instance version and
:gelcmd:`instance revert` command removes the new instance version and
replaces it with the old copy. It also ensures that the previous
version of |Gel| server is used to run it.

.. note::

The ``gel instance revert`` command is not intended for use with
The :gelcmd:`instance revert` command is not intended for use with
self-hosted instances.


Expand Down
4 changes: 2 additions & 2 deletions docs/cli/edgedb_instance/edgedb_instance_start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Start an |Gel| instance.
Description
===========

``gel instance start`` is a terminal command for starting a new
:gelcmd:`instance start` is a terminal command for starting a new
|Gel| instance.

.. note::

The ``gel instance start`` command is not intended for use with
The :gelcmd:`instance start` command is not intended for use with
self-hosted instances.


Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_instance/edgedb_instance_status.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Show instance information.
Description
===========

``gel instance status`` is a terminal command for displaying the
:gelcmd:`instance status` is a terminal command for displaying the
information about |Gel| instances.


Expand Down
4 changes: 2 additions & 2 deletions docs/cli/edgedb_instance/edgedb_instance_stop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Stop an |Gel| instance.
Description
===========

``gel instance stop`` is a terminal command for stopping a running
:gelcmd:`instance stop` is a terminal command for stopping a running
|Gel| instance. This is a necessary step before
:ref:`destroying <ref_cli_edgedb_instance_destroy>` an instance.

.. note::

The ``gel instance stop`` command is not intended for use with
The :gelcmd:`instance stop` command is not intended for use with
self-hosted instances.


Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_instance/edgedb_instance_unlink.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Unlink from a previously linked remote Gel instance.
Description
===========

``gel instance unlink`` is a terminal command used to unlink a
:gelcmd:`instance unlink` is a terminal command used to unlink a
remote instance. This removes the instance name from the list of valid
instances.

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_instance/edgedb_instance_upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ bulk.

.. note::

The ``gel instance upgrade`` command is not intended for use with
The :gelcmd:`instance upgrade` command is not intended for use with
self-hosted instances.


Expand Down
4 changes: 2 additions & 2 deletions docs/cli/edgedb_instance/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
gel instance
============

The ``gel instance`` group of commands contains all sorts of tools
The :gelcmd:`instance` group of commands contains all sorts of tools
for managing |Gel| instances.

.. note::

Most commands in the ``gel instance`` command group are not intended to
Most commands in the :gelcmd:`instance` command group are not intended to
manage self-hosted instances. See individual commands for more details.

.. toctree::
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ List matching database objects by name and type.
Description
===========

The ``gel list`` group of commands contains tools for listing
The :gelcmd:`list` group of commands contains tools for listing
database objects by matching name or type. The sub-commands are
organized by the type of the objects listed.

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_migrate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ database using this command.
.. warning:: Gel Cloud CI users and scripters

When scripting a ``migrate``/``migration apply`` for an |Gel| Cloud
instance, do not use ``gel login`` to authenticate. Instead, you should
instance, do not use :gelcmd:`login` to authenticate. Instead, you should
generate a secret key in the Gel Cloud UI or by running
:ref:`ref_cli_edgedb_cloud_secretkey_create` and set the
``EDGEDB_SECRET_KEY`` environment variable to your secret key. Once this
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_migration/edgedb_migration_apply.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ target instance.
.. warning:: Gel Cloud CI users and scripters

When scripting a ``migrate``/``migration apply`` for an |Gel| Cloud
instance, do not use ``gel login`` to authenticate. Instead, you should
instance, do not use :gelcmd:`login` to authenticate. Instead, you should
generate a secret key in the Gel Cloud UI or by running
:ref:`ref_cli_edgedb_cloud_secretkey_create` and set the
``EDGEDB_SECRET_KEY`` environment variable to your secret key. Once this
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_migration/edgedb_migration_extract.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gel migration extract

Extract migration history from the database and write it to
``/dbschema/migrations``. Useful when a direct DDL command has been used to
change the schema and now ``gel migrate`` will not comply because the
change the schema and now :gelcmd:`migrate` will not comply because the
database migration history is ahead of the migration history inside
``/dbschema/migrations``.

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_project/edgedb_project_init.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ logging in using :ref:`ref_cli_edgedb_cloud_login`.
To create a Cloud instance, your instance name should be in the format
``<org-name>/<instance-name>``. Cloud instance names may contain alphanumeric
characters and hyphens (i.e., ``-``). You can provide this Cloud instance name
through the interactive project initiation by running ``gel project init``
through the interactive project initiation by running :gelcmd:`project init`
or by providing it via the ``--server-instance`` option.

.. note::
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_project/edgedb_project_upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if upgrading from nightly to the stable version).

.. note::

The ``gel project upgrade`` command is not intended for use with
The :gelcmd:`project upgrade` command is not intended for use with
self-hosted instances.


Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_query.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Execute one or more EdgeQL queries.
Description
===========

``gel query`` is a terminal command used to execute EdgeQL queries
:gelcmd:`query` is a terminal command used to execute EdgeQL queries
provided as space-separated strings.


Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_restore.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Restore a |Gel| branch from a backup file.
Description
===========

``gel restore`` is a terminal command used to restore an Gel database
:gelcmd:`restore` is a terminal command used to restore an Gel database
branch (or database pre-v5) from a backup file. The backup is restored to the
currently active branch (or to the currently connected database pre-v5).

Expand Down
2 changes: 1 addition & 1 deletion docs/cli/edgedb_server/edgedb_server_info.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Show server information.
Description
===========

``gel server info`` is a terminal command for displaying the
:gelcmd:`server info` is a terminal command for displaying the
information about installed |Gel| servers.


Expand Down
Loading

0 comments on commit 446e876

Please sign in to comment.