From bc61f370e9f5a948ee11300391d2b095ccf4f7e9 Mon Sep 17 00:00:00 2001 From: Bradley Wojcik Date: Wed, 18 Oct 2023 21:58:52 -0400 Subject: [PATCH] update help messages, bump version to v1.1.0 --- docs/changelog.md | 7 +++++-- src/meeple/__init__.py | 2 +- src/meeple/command/add.py | 6 +++--- src/meeple/command/drop.py | 4 ++-- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index bc036a1..dc80eff 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -9,15 +9,18 @@ and this project adheres to ## [Unreleased] +## [v1.1.0] - 2023-10-18 + ### Changed - `meeple add` - Add multiple items to a collection at once. ([#77](https://github.com/boldandbrad/meeple-cli/issues/77)) - - Dim already added message. + - Update help text wording to be consistent with action. + - Dim 'already added' message text. - `meeple drop` - Drop multiple items from a collection at once. ([#78](https://github.com/boldandbrad/meeple-cli/issues/78)) - Update help text wording to be consistent with action. - - Dim already dropped message. + - Dim 'already dropped' message text. - `meeple collections` - Update 'pending update' warning message text. ### Fixed diff --git a/src/meeple/__init__.py b/src/meeple/__init__.py index e4caeca..b5d511e 100644 --- a/src/meeple/__init__.py +++ b/src/meeple/__init__.py @@ -1,4 +1,4 @@ """Local board game collection manager. Powered by BoardGameGeek.""" # release version -__version__ = "1.1.0b2" +__version__ = "1.1.0" diff --git a/src/meeple/command/add.py b/src/meeple/command/add.py index 212914b..3a42e00 100644 --- a/src/meeple/command/add.py +++ b/src/meeple/command/add.py @@ -20,11 +20,11 @@ @click.option("--update", is_flag=True, help="Update collection data.") @click.help_option("-h", "--help") def add(collection_name: str, bgg_ids: [int], update: bool) -> None: - """Add an item to a collection. + """Add items to a collection. - - COLLECTION_NAME is the name of the intended destination collection. + - COLLECTION_NAME is the name of the collection to be modified. - - BGG_IDS is the BoardGameGeek ID(s) of the board game/expansion(s) to be added. + - BGG_IDS are BoardGameGeek ID(s) of the item(s) to be added. """ multi_add = len(bgg_ids) > 1 diff --git a/src/meeple/command/drop.py b/src/meeple/command/drop.py index 9baf8c1..eae0589 100644 --- a/src/meeple/command/drop.py +++ b/src/meeple/command/drop.py @@ -20,11 +20,11 @@ @click.option("--update", is_flag=True, help="Update collection data.") @click.help_option("-h", "--help") def drop(collection_name: str, bgg_ids: [int], update: bool) -> None: - """Remove an item from a collection. + """Drop items from a collection. - COLLECTION_NAME is the name of the collection to be modified. - - BGG_IDS is the BoardGameGeek ID(s) of the board game/expansion(s) to be dropped. + - BGG_IDS are BoardGameGeek ID(s) of the item(s) to be dropped. """ multi_drop = len(bgg_ids) > 1