Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,11 +408,10 @@ export const buildCmd = (): CompletableCommand => {
.description("Edit yaml test case")
.helpGroup("test-cases")
.addOption(testTargetIdOption)
.requiredOption(
"-f, --file-path <path>",
"The path to the local yaml file you want to edit",
)
.action(addTestTargetWrapper(edit));
.argument("<file-path>", "The path to the local yaml file you want to edit")
.action((filePath, options) =>
addTestTargetWrapper(edit)({ ...options, filePath }),
);

createCommandWithCommonOptions(program, "list-test-targets")
.description("List all test targets")
Expand Down