Skip to content

Commit acae689

Browse files
robingenzclaude
andauthored
fix: the api help says where each placeholder comes from (#146)
The description named hotcodepush.json as a source of {organizationId}. The CLI reads the organization from --organization or takes the only organization you belong to. The sentence now names the source of each placeholder. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1 parent d1ee6a2 commit acae689

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/commands/api.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const STDIN_BODY_PATH = '-';
5555

5656
export default defineCommand({
5757
description:
58-
'Send one request to the HotCodePush API and print the response body. <path> is a path of the API, such as /v1/apps/{appId}/channels, and may carry a query string. Its leading slash may be left out. The CLI fills {appId} and {organizationId} from hotcodepush.json, --app and --organization.',
58+
'Send one request to the HotCodePush API and print the response body. <path> is a path of the API, such as /v1/apps/{appId}/channels, and may carry a query string. Its leading slash may be left out. The CLI fills {appId} from hotcodepush.json or --app, and {organizationId} from --organization or the only organization you belong to.',
5959
examples: [
6060
"hotcodepush api '/v1/apps/{appId}/channels?limit=100'",
6161
"hotcodepush api '/v1/apps/{appId}/channels' --body-path channel.json",

0 commit comments

Comments
 (0)