pike13-cli 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/pike13/cli/commands/account/person.rb +4 -0
- data/lib/pike13/cli/commands/desk/person.rb +4 -0
- data/lib/pike13/cli/commands/desk/staff_member.rb +4 -0
- data/lib/pike13/cli/commands/front/person.rb +4 -0
- data/lib/pike13/cli/commands/front/plan_product.rb +4 -0
- data/lib/pike13/cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1fb670799c8613bf30e57bc2a27f67fa56688013c81040d2f99b0a831ec5b12e
|
|
4
|
+
data.tar.gz: 7723a7b7bc57df97147dc8ead89751d7913881e6a24282000df4ff69d56b1963
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e02eefafc87f6fc027c13c162e5c8a76bf27a6688297ddaa5c70739174d9040535889aa2def7a65f6d860b2a5b09392640a4bb83896037c0505b217559c1c050
|
|
7
|
+
data.tar.gz: 15a52cd46b1aacd85c79bf925ce7f44e05c3a4e2b873ef8f9d970119fd3d4752b49bcb719d014cad83969c87d6c9b7ae99e0d3a77e35a3e48081db843b65a619
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
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
|
+
|
|
8
18
|
## [0.2.0] - 2025-11-18
|
|
9
19
|
|
|
10
20
|
### Added
|
|
@@ -5,6 +5,10 @@ module Pike13
|
|
|
5
5
|
module Commands
|
|
6
6
|
class Account < Base
|
|
7
7
|
class Person < Base
|
|
8
|
+
# Override the command name display to use "people" instead of "person"
|
|
9
|
+
def self.base_usage
|
|
10
|
+
"account people"
|
|
11
|
+
end
|
|
8
12
|
desc "list", "List all people across businesses"
|
|
9
13
|
format_options
|
|
10
14
|
def list
|
|
@@ -5,6 +5,10 @@ module Pike13
|
|
|
5
5
|
module Commands
|
|
6
6
|
class Desk < Base
|
|
7
7
|
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
|
|
8
12
|
desc "list", "List all people"
|
|
9
13
|
map "ls" => :list
|
|
10
14
|
format_options
|
|
@@ -5,6 +5,10 @@ module Pike13
|
|
|
5
5
|
module Commands
|
|
6
6
|
class Desk < Base
|
|
7
7
|
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
|
|
8
12
|
desc "list", "List all staff"
|
|
9
13
|
map "ls" => :list
|
|
10
14
|
format_options
|
|
@@ -5,6 +5,10 @@ module Pike13
|
|
|
5
5
|
module Commands
|
|
6
6
|
class Front < Base
|
|
7
7
|
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
|
|
8
12
|
desc "me", "Get current authenticated client user"
|
|
9
13
|
format_options
|
|
10
14
|
def me
|
|
@@ -5,6 +5,10 @@ module Pike13
|
|
|
5
5
|
module Commands
|
|
6
6
|
class Front < Base
|
|
7
7
|
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
|
|
8
12
|
desc "list", "List all plan products"
|
|
9
13
|
format_options
|
|
10
14
|
def list
|
data/lib/pike13/cli/version.rb
CHANGED