@pitcher/cli-scripts 2.0.5 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +12 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,32 +14,35 @@ p command --help
14
14
 
15
15
  ```bash
16
16
  # Basic usage
17
- p publish-app <folder> --url https://dev.my.pitcher.com --api-key myapikey
17
+ p publish-app <folder> --url https://pitcher.my.pitcher.com --api-key myapikey
18
18
 
19
- # Publish to current folder and dev org
19
+ # Publish to current folder and default org (dev)
20
20
  p publish-app --api-key myapikey
21
21
 
22
+ # Publish to a specific organization subdomain (e.g., pitcher.my.pitcher.com)
23
+ p publish-app --api-key myapikey --org pitcher
24
+
22
25
  # Dry run with version increment
23
- p publish-app --api-key myapikey --dry-run --increment-version
26
+ p publish-app --api-key myapikey --org pitcher --dry-run --increment-version
24
27
 
25
28
  # Publish and install to specific instances
26
- p publish-app --api-key myapikey --increment-version --install-to "01HG0C5NS1BTQ2ZPE1XCGKSGDH, 01HG0C5NS1BTQ2ZPE1XCGKSGDA"
29
+ p publish-app --api-key myapikey --org pitcher --increment-version --install-to 01HG0C5NS1BTQ2ZPE1XCGKSGDH,01HG0C5NS1BTQ2ZPE1XCGKSGDA
27
30
 
28
- # Publish and install to all instances with a specific environment name
29
- p publish-app --api-key myapikey --increment-version --install-to-env-name "Demo"
31
+ # Publish and install to all instances with a specific environment name (case-insensitive)
32
+ p publish-app --api-key myapikey --org pitcher --increment-version --install-to-env-name Demo
30
33
 
31
34
  # Combine both: install to specific instances AND all instances in an environment
32
- p publish-app --api-key myapikey --increment-version --install-to "01HG0C5NS1BTQ2ZPE1XCGKSGDH" --install-to-env-name "Demo"
35
+ p publish-app --api-key myapikey --org pitcher --increment-version --install-to 01HG0C5NS1BTQ2ZPE1XCGKSGDH --install-to-env-name Demo
33
36
 
34
37
  # Alternative: Set API key via environment variable
35
38
  export NG_API_KEY=myapikey
36
- p publish-app --increment-version --install-to-env-name "Production"
39
+ p publish-app --org pitcher --increment-version --install-to-env-name Production
37
40
  ```
38
41
 
39
42
  ### Options
40
43
 
41
44
  - `--api-key <apiKey>`: API Key for authentication (can also use `NG_API_KEY` env variable)
42
- - `--org <organization>`: Organization subdomain (default: "dev")
45
+ - `--org <organization>`: Organization subdomain (e.g., "pitcher" for pitcher.my.pitcher.com, default: "dev")
43
46
  - `--increment-version`: Increment version in app.json with timestamp
44
47
  - `--dry-run`: Perform a dry run without publishing
45
48
  - `--publish-url <url>`: Explicit publish URL
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pitcher/cli-scripts",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "The Pitcher CLI for various tasks in its ecosystem.",
5
5
  "author": "Pitcher AG",
6
6
  "license": "MIT",