From a1c8d87ecaeba749624140bcf85a53c6ad3d5dec Mon Sep 17 00:00:00 2001 From: namanyadav-08 Date: Tue, 19 May 2026 02:20:11 +0530 Subject: [PATCH 1/2] docs: remove duplicate Installation heading in README Signed-off-by: namanyadav-08 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fee58f72..bcd5cc08 100644 --- a/README.md +++ b/README.md @@ -89,9 +89,10 @@ microcks [command] [flags] | `--microcksURL` | Microcks API URL | -## Installation + ### Building from Source + To build the CLI locally: ```bash From c2dbeebfc9081070e36764bed4f0ca488bf51beb Mon Sep 17 00:00:00 2001 From: namanyadav-08 Date: Tue, 19 May 2026 15:23:02 +0530 Subject: [PATCH 2/2] fix: add specific error messages for missing test command arguments Signed-off-by: namanyadav-08 --- cmd/test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/test.go b/cmd/test.go index b9a6989a..b7e875e4 100644 --- a/cmd/test.go +++ b/cmd/test.go @@ -58,15 +58,15 @@ func NewTestCommand(globalClientOpts *connectors.ClientOptions) *cobra.Command { // Validate presence and values of args. if len(serviceRef) == 0 || strings.HasPrefix(serviceRef, "-") { - fmt.Println("test command require args") + fmt.Fprintln(os.Stderr, "missing required argument: (e.g. 'my-api:1.0')") os.Exit(1) } if len(testEndpoint) == 0 || strings.HasPrefix(testEndpoint, "-") { - fmt.Println("test command require args") + fmt.Fprintln(os.Stderr, "missing required argument: (e.g. 'http://localhost:8080/api')") os.Exit(1) } if len(runnerType) == 0 || strings.HasPrefix(runnerType, "-") { - fmt.Println("test command require args") + fmt.Fprintln(os.Stderr, "missing required argument: (e.g. 'HTTP', 'POSTMAN', 'OPEN_API_SCHEMA')") os.Exit(1) } if _, validChoice := runnerChoices[runnerType]; !validChoice {