@pitcher/cli-scripts 2.0.6 → 2.0.8
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.
- package/README.md +12 -9
- 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://
|
|
17
|
+
p publish-app <folder> --url https://pitcher.my.pitcher.com --api-key myapikey
|
|
18
18
|
|
|
19
|
-
# Publish to current folder and
|
|
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
|
|
29
|
+
p publish-app --api-key myapikey --org pitcher --increment-version --install-to 01JB8KQRM3XYZ2P4N5W7T9VHFA,01JB8KR0P6QS4T8X1M9Y3C7ZBE
|
|
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
|
|
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
|
|
35
|
+
p publish-app --api-key myapikey --org pitcher --increment-version --install-to 01JB8KS5F2WH9V6D8R3N7JXMQK --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
|
|
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
|