Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update usage docs #8

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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