Skip to content

Commit 545dfd6

Browse files
committed
release 0.2.1
1 parent 1e62e21 commit 545dfd6

8 files changed

Lines changed: 33 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.1] - 2025-11-18
9+
10+
### Fixed
11+
- **Help Command Display Issue** - Fixed help commands showing incorrect singular forms instead of intended plural forms
12+
- `pike13 desk people --help` now shows `pike13 desk people create/list/get/delete/me/search/update` instead of `pike13 desk person create/list/get/delete/me/search/update`
13+
- `pike13 desk staff --help` now shows `pike13 desk staff get/list/help/me` instead of `pike13 desk staffmember get/list/help/me`
14+
- `pike13 front plan_products --help` now shows `pike13 front plan_products get/list/help` instead of `pike13 front planproduct get/list/help`
15+
- `pike13 account people --help` now shows `pike13 account people help/list` instead of `pike13 account person help/list`
16+
- Applied `base_usage` overrides to ensure help commands display correct plural naming
17+
818
## [0.2.0] - 2025-11-18
919

1020
### Added

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
pike13-cli (0.2.0)
4+
pike13-cli (0.2.1)
55
colorize (~> 1.1)
66
pike13 (~> 0.1)
77
table_print (~> 1.5)

lib/pike13/cli/commands/account/person.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ module CLI
55
module Commands
66
class Account < Base
77
class Person < Base
8-
desc "list", "List all people across businesses"
8+
# Override the command name display to use "people" instead of "person"
9+
def self.base_usage
10+
"account people"
11+
end
12+
desc "list", "List all people across your businesses"
913
format_options
1014
def list
1115
handle_error do

lib/pike13/cli/commands/desk/person.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ module CLI
55
module Commands
66
class Desk < Base
77
class Person < Base
8+
# Override the command name display to use "people" instead of "person"
9+
def self.base_usage
10+
"desk people"
11+
end
812
desc "list", "List all people"
913
map "ls" => :list
1014
format_options

lib/pike13/cli/commands/desk/staff_member.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ module CLI
55
module Commands
66
class Desk < Base
77
class StaffMember < Base
8+
# Override the command name display to use "staff" instead of "staffmember"
9+
def self.base_usage
10+
"desk staff"
11+
end
812
desc "list", "List all staff"
913
map "ls" => :list
1014
format_options

lib/pike13/cli/commands/front/person.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ module CLI
55
module Commands
66
class Front < Base
77
class Person < Base
8+
# Override the command name display to use "people" instead of "person"
9+
def self.base_usage
10+
"front people"
11+
end
812
desc "me", "Get current authenticated client user"
913
format_options
1014
def me

lib/pike13/cli/commands/front/plan_product.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ module CLI
55
module Commands
66
class Front < Base
77
class PlanProduct < Base
8+
# Override the command name display to use "plan_products" instead of "planproduct"
9+
def self.base_usage
10+
"front plan_products"
11+
end
812
desc "list", "List all plan products"
913
format_options
1014
def list

lib/pike13/cli/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Pike13
44
module CLI
5-
VERSION = "0.2.0"
5+
VERSION = "0.2.1"
66
end
77
end

0 commit comments

Comments
 (0)