Skip to content

Commit 78a9c3d

Browse files
authored
Fix help strings and consistently use docstrings (#29)
* Fix help strings and consistently use docstrings * Bump version and changelog
1 parent 0be55db commit 78a9c3d

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

docs/CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10-
## [0.0.8] - 2024-02-012
10+
## [0.0.9] - 2024-04-17
11+
12+
### Fixed
13+
14+
- Fix incorrect help string for the `list` command
15+
16+
## [0.0.8] - 2024-02-12
1117

1218
### Added
1319

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = repo-man
3-
version = 0.0.8
3+
version = 0.0.9
44
description = Manage repositories of a variety of different types.
55
long_description = file: README.md
66
long_description_content_type = text/markdown

src/repo_man/commands/list_repos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from repo_man.utils import ensure_config_file_exists, parse_repo_types, pass_config
66

77

8-
@click.command(name="list", help="The type of repository to manage")
8+
@click.command(name="list")
99
@click.option("-t", "--type", "repo_types", multiple=True, show_choices=False, required=True)
1010
@pass_config
1111
def list_repos(config: configparser.ConfigParser, repo_types: list[str]) -> None:

src/repo_man/commands/remove.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from repo_man.utils import ensure_config_file_exists, parse_repo_types, pass_config
77

88

9-
@click.command(name="remove", help="Remove a repository from one or more types")
9+
@click.command(name="remove")
1010
@click.option("-t", "--type", "repo_types", multiple=True, help="The types from which to remove the repository")
1111
@click.argument("repo", type=click.Path(exists=True, file_okay=False))
1212
@pass_config

0 commit comments

Comments
 (0)