Skip to content

Commit

Permalink
Update usage docs
Browse files Browse the repository at this point in the history
  • Loading branch information
daneah committed Nov 8, 2023
1 parent 6eb2fd1 commit 53c173a
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,33 @@ Listing repositories

.. code-block:: shell
$ repoman --type some-flavor --list
$ repoman list --type some-flavor
repo-one
repo-two
Listing flavors for a repository
++++++++++++++++++++++++++++++++

.. code-block:: shell
$ repoman flavors repo-one
some-flavor
Adding a repository
+++++++++++++++++++

You can add a repository to an existing flavor:

.. code-block:: shell
$ repoman add repo-four --type some-flavor
You can also add a repository to an existing flavor:

.. code-block:: shell
$ repoman add repo-five --type some-brand-new-flavor
Listing known flavors
+++++++++++++++++++++

Expand All @@ -119,7 +142,7 @@ As an example, you can iterate over all the repositories of a given flavor to ta

.. code-block:: shell
$ for repo in $(repoman --type some-flavor --list); do
$ for repo in $(repoman list --type some-flavor); do
cd $repo;
# take some action;
cd ..;
Expand Down

0 comments on commit 53c173a

Please sign in to comment.