From 0d608c9b17a597e92e2c5aa90847ec58fbf762a9 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 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fee58f7..bcd5cc0 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 519e87201ae0c79835312419d60514552105b8b8 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 b9a6989..b7e875e 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 {