Skip to content

Commit a1994b1

Browse files
authored
Merge pull request #79 from marcelldls/completion-hint
Add hint for commandline completion
2 parents 043a022 + 5d2019d commit a1994b1

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/user/tutorials/deploy_example.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,21 @@ available in the GitHub repository.
140140
because you set EC_DOMAIN_REPO incorrectly in environment.sh. Check it
141141
and source it again to pick up any changes.
142142

143+
.. hint::
144+
145+
ec supports command line completion, which means that entering ``<tab> <tab>`` will give hints on the command line:
146+
147+
.. code-block:: bash
148+
149+
$ ec ioc <tab> <tab>
150+
attach deploy exec list logs start template
151+
delete deploy-local instances log-history restart stop validate
152+
$ ec ioc instances <tab> <tab>
153+
$ ec ioc instances bl01t-ea-ioc-0 <tab> <tab>
154+
bl01t-ea-ioc-01 bl01t-ea-ioc-02
155+
156+
To enable this behavior in your shell run the command ``ec --install-completion``
157+
143158
Now that we know the latest version number we can deploy a release version.
144159
This command will extract the IOC instance using the tag from GitHub and deploy
145160
it to your local machine:

0 commit comments

Comments
 (0)