Skip to content

Commit 29b7d20

Browse files
committed
$ npm run generate
1 parent 50d6e94 commit 29b7d20

9 files changed

+15
-9
lines changed

src/commands/mobile/api/run-test-plan.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export default class MobileApiRunTestPlan extends Command {
1212
required: true,
1313
}),
1414
"run-test-plan-request": Flags.string({
15-
description: "The build_id to execute the test plan.",
15+
description:
16+
'A JSON object with the build_id to execute the test plan. e.g. {"build_id":"string"}',
1617
required: true,
1718
}),
1819
};

src/commands/web/api/create-access-point.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export default class WebApiCreateAccessPoint extends Command {
1414
required: true,
1515
}),
1616
"create-access-point-request": Flags.string({
17-
description: "The name of the access point to be created",
17+
description:
18+
'A JSON object with the name of the access point to be created e.g. {"name":"string"}',
1819
required: true,
1920
}),
2021
};

src/commands/web/api/create-test-plan-variable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default class WebApiCreateTestPlanVariable extends Command {
1414
}),
1515
"create-test-plan-variable-request": Flags.string({
1616
description:
17-
"The new variable key and default value to use in the test plan",
17+
'A JSON object with the new variable key and default value to use in the test plan e.g. {"key":"string","default_value":"string"}',
1818
required: true,
1919
}),
2020
};

src/commands/web/api/create-url-replacement.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export default class WebApiCreateUrlReplacement extends Command {
1313
required: true,
1414
}),
1515
"create-url-replacement-request": Flags.string({
16-
description: "The url to replace",
16+
description:
17+
'A JSON object with the url to replace e.g. {"pattern_url":"string","replacement_url":"string"}',
1718
required: true,
1819
}),
1920
};

src/commands/web/api/delete-access-point.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export default class WebApiDeleteAccessPoint extends Command {
1313
required: true,
1414
}),
1515
"delete-access-point-request": Flags.string({
16-
description: "The name of the access point to be deleted",
16+
description:
17+
'A JSON object with the name of the access point to be deleted e.g. {"name":"string"}',
1718
required: true,
1819
}),
1920
};

src/commands/web/api/execute-scenarios.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export default class WebApiExecuteScenarios extends Command {
1414
required: true,
1515
}),
1616
"execute-scenarios-request": Flags.string({
17-
description: "The scenarios and settings to execute",
17+
description:
18+
'A JSON object with the scenarios and settings to execute e.g. {"name":"string","execution_type":"parallel","capabilities":[{"os":"string","os_type":"macos","os_version":"string","device":"string","browser":"string","browser_type":"chrome","browser_version":"string"}],"url_replacements":[{"pattern_url":"string","replacement_url":"string"}],"scenarios":[{"id":0}],"autify_connect":{"name":"string"}}',
1819
required: true,
1920
}),
2021
};

src/commands/web/api/execute-schedule.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export default class WebApiExecuteSchedule extends Command {
1414
required: true,
1515
}),
1616
"execute-schedule-request": Flags.string({
17-
description: "The options to execute a test plan.",
17+
description:
18+
'A JSON object with the options to execute a test plan. e.g. {"autify_connect":{"name":"string"}}',
1819
required: false,
1920
}),
2021
};

src/commands/web/api/update-test-plan-variable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class WebApiUpdateTestPlanVariable extends Command {
1818
}),
1919
"update-test-plan-variable-request": Flags.string({
2020
description:
21-
"The variable's new key and/or default_value's value to register",
21+
'A JSON object with the variable\'s new key and/or default_value\'s value to register e.g. {"key":"string","default_value":"string"}',
2222
required: true,
2323
}),
2424
};

src/commands/web/api/update-url-replacement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default class WebApiUpdateUrlReplacement extends Command {
1818
}),
1919
"update-url-replacement-request": Flags.string({
2020
description:
21-
"The url to replace. Either pattern_url or replacement_url is required.",
21+
'A JSON object with the url to replace. Either pattern_url or replacement_url is required. e.g. {"pattern_url":"string","replacement_url":"string"}',
2222
required: true,
2323
}),
2424
};

0 commit comments

Comments
 (0)