Skip to content

Commit

Permalink
Update README to match cpm help output
Browse files Browse the repository at this point in the history
  • Loading branch information
trgeiger committed Apr 22, 2024
1 parent bb26e9e commit 2fe599b
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
# Copr Manager

CLI app for managing Copr repos, written in Go.

A command line tool for managing Copr repositories, written in Go.
.

## Usage
`cpm [OPTION] [REPO(s)...]`

```
Options:
enable Add or enable one or more Copr repositories
remove Remove one or more Copr repositories
--all Remove all installed Copr repositories
list List Copr repositories in your repo folder
Usage:
cpm [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
disable Disable one or more Copr repositories without uninstalling them.
enable Enable or add one or more Copr repositories.
help Help about any command
list List installed Copr repositories
--enabled List all enabled repositories (default)
--disabled List all disabled repositories
--all List both disabled and enabled repositories
disable Disable one or more Copr repositories without deleting the repository files
help Display help text
prune Remove duplicate repository configurations.
remove Uninstall one or more Copr repositories.
--all Remove all installed Copr repositories
Arguments:
[REPO(s)...] One or more repository names formatted as `author/repo`
Expand All @@ -25,4 +31,9 @@ Examples:
cpm disable kylegospo/bazzite
cpm remove kylegospo/bazzite
cpm list --all
```
```

## Building
```shell
go build -o cpm main.go
```

0 comments on commit 2fe599b

Please sign in to comment.