@signageos/cli 2.4.1 → 2.6.0-rc.0
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 +27 -1
- package/dist/Applet/Build/appletBuildCommand.d.ts +28 -2
- package/dist/Applet/Build/appletBuildCommand.js +27 -1
- package/dist/Applet/Generate/Templates/index.js.template +1 -1
- package/dist/Applet/Generate/Templates/tsconfig.js.template +1 -1
- package/dist/Applet/Generate/appletGenerateCommand.d.ts +29 -23
- package/dist/Applet/Generate/appletGenerateCommand.js +38 -32
- package/dist/Applet/Start/appletStartCommand.d.ts +44 -2
- package/dist/Applet/Start/appletStartCommand.js +44 -2
- package/dist/Applet/Test/Upload/appletTestRunCommand.d.ts +25 -2
- package/dist/Applet/Test/Upload/appletTestRunCommand.js +24 -1
- package/dist/Applet/Test/Upload/appletTestUploadCommand.d.ts +34 -4
- package/dist/Applet/Test/Upload/appletTestUploadCommand.js +32 -2
- package/dist/Applet/Test/appletTestCommand.d.ts +23 -6
- package/dist/Applet/Test/appletTestCommand.js +17 -0
- package/dist/Applet/Upload/appletUploadCommand.d.ts +46 -4
- package/dist/Applet/Upload/appletUploadCommand.js +44 -2
- package/dist/Applet/Upload/appletUploadFacade.js +3 -3
- package/dist/Applet/appletCommand.d.ts +42 -10
- package/dist/Applet/appletCommand.js +33 -1
- package/dist/Auth/loginCommand.d.ts +23 -2
- package/dist/Auth/loginCommand.js +42 -14
- package/dist/Command/Autocomplete/Install/installAutocompleteCommand.d.ts +17 -0
- package/dist/Command/Autocomplete/Install/installAutocompleteCommand.js +17 -0
- package/dist/Command/Autocomplete/Install/installAutocompleteCommand.ts +17 -0
- package/dist/Command/Autocomplete/Uninstall/uninstallAutocompleteCommand.d.ts +17 -0
- package/dist/Command/Autocomplete/Uninstall/uninstallAutocompleteCommand.js +22 -5
- package/dist/Command/Autocomplete/autocompleteCommand.d.ts +18 -0
- package/dist/Command/Autocomplete/autocompleteCommand.js +19 -1
- package/dist/Command/autoComplete.js +2 -2
- package/dist/Command/globalArgs.d.ts +33 -0
- package/dist/Command/globalArgs.js +33 -0
- package/dist/CustomScript/Generate/customScriptGenerateCommand.d.ts +19 -0
- package/dist/CustomScript/Generate/customScriptGenerateCommand.js +20 -1
- package/dist/CustomScript/Upload/customScriptUploadCommand.d.ts +32 -2
- package/dist/CustomScript/Upload/customScriptUploadCommand.js +31 -1
- package/dist/CustomScript/customScriptCommand.d.ts +21 -1
- package/dist/CustomScript/customScriptCommand.js +20 -0
- package/dist/CustomScript/customScriptFacade.d.ts +5 -5
- package/dist/CustomScript/customScriptFacade.js +5 -4
- package/dist/Device/Connect/connectCommand.d.ts +51 -2
- package/dist/Device/Connect/connectCommand.js +50 -1
- package/dist/Device/Content/setContentCommand.d.ts +28 -2
- package/dist/Device/Content/setContentCommand.js +27 -1
- package/dist/Device/PowerAction/powerActionCommand.d.ts +54 -2
- package/dist/Device/PowerAction/powerActionCommand.js +52 -0
- package/dist/Device/deviceCommand.d.ts +26 -6
- package/dist/Device/deviceCommand.js +21 -1
- package/dist/Device/deviceFacade.d.ts +1 -1
- package/dist/Firmware/Upload/firmwareUploadCommand.d.ts +42 -0
- package/dist/Firmware/Upload/firmwareUploadCommand.js +40 -6
- package/dist/Firmware/Upload/firmwareUploadFacade.js +1 -1
- package/dist/Firmware/firmwareCommand.d.ts +25 -0
- package/dist/Firmware/firmwareCommand.js +18 -1
- package/dist/Lib/childProcess.js +2 -2
- package/dist/Organization/Get/organizationGetCommand.d.ts +31 -2
- package/dist/Organization/Get/organizationGetCommand.js +31 -2
- package/dist/Organization/List/organizationListCommand.d.ts +20 -0
- package/dist/Organization/List/organizationListCommand.js +21 -1
- package/dist/Organization/SetDefault/organizationSetDefaultCommand.d.ts +24 -0
- package/dist/Organization/SetDefault/organizationSetDefaultCommand.js +25 -1
- package/dist/Organization/organizationCommand.d.ts +27 -2
- package/dist/Organization/organizationCommand.js +26 -1
- package/dist/Organization/organizationFacade.d.ts +2 -2
- package/dist/Organization/organizationFacade.js +3 -3
- package/dist/Plugin/Generate/pluginGenerateCommand.d.ts +7 -0
- package/dist/Plugin/Generate/pluginGenerateCommand.js +38 -0
- package/dist/Plugin/Generate/pluginGenerateFacade.d.ts +12 -0
- package/dist/Plugin/Generate/pluginGenerateFacade.js +106 -0
- package/dist/Plugin/Upload/pluginUploadCommand.d.ts +25 -0
- package/dist/Plugin/Upload/pluginUploadCommand.js +70 -0
- package/dist/Plugin/pluginCommand.d.ts +27 -0
- package/dist/Plugin/pluginCommand.js +26 -0
- package/dist/Plugin/pluginFacade.d.ts +62 -0
- package/dist/Plugin/pluginFacade.js +251 -0
- package/dist/Runner/Generate/runnerGenerateCommand.d.ts +7 -0
- package/dist/Runner/Generate/runnerGenerateCommand.js +38 -0
- package/dist/Runner/Generate/runnerGenerateFacade.d.ts +12 -0
- package/dist/Runner/Generate/runnerGenerateFacade.js +107 -0
- package/dist/Runner/Upload/runnerUploadCommand.d.ts +25 -0
- package/dist/Runner/Upload/runnerUploadCommand.js +72 -0
- package/dist/Runner/runnerCommand.d.ts +27 -0
- package/dist/Runner/runnerCommand.js +26 -0
- package/dist/Runner/runnerFacede.d.ts +15 -0
- package/dist/Runner/runnerFacede.js +234 -0
- package/dist/Timing/List/timingListCommand.d.ts +26 -2
- package/dist/Timing/List/timingListCommand.js +26 -2
- package/dist/Timing/timingCommand.d.ts +17 -2
- package/dist/Timing/timingCommand.js +15 -0
- package/dist/helper.d.ts +5 -5
- package/dist/helper.js +4 -6
- package/dist/index.js +26 -2
- package/docs/applet/build/index.md +74 -0
- package/docs/applet/generate/index.md +118 -0
- package/docs/applet/index.md +134 -0
- package/docs/applet/start/index.md +104 -0
- package/docs/applet/test/index.md +91 -0
- package/docs/applet/test/run/index.md +82 -0
- package/docs/applet/test/upload/index.md +80 -0
- package/docs/applet/upload/index.md +131 -0
- package/docs/autocomplete/index.md +92 -0
- package/docs/autocomplete/install/index.md +120 -0
- package/docs/autocomplete/uninstall/index.md +65 -0
- package/docs/custom-script/generate/index.md +66 -0
- package/docs/custom-script/index.md +96 -0
- package/docs/custom-script/upload/index.md +78 -0
- package/docs/device/connect/index.md +148 -0
- package/docs/device/index.md +105 -0
- package/docs/device/power-action/index.md +130 -0
- package/docs/device/set-content/index.md +72 -0
- package/docs/index.md +170 -0
- package/docs/login/index.md +122 -0
- package/docs/organization/get/index.md +79 -0
- package/docs/organization/index.md +105 -0
- package/docs/organization/list/index.md +65 -0
- package/docs/organization/set-default/index.md +74 -0
- package/docs/plugin/generate/index.md +43 -0
- package/docs/plugin/index.md +72 -0
- package/docs/plugin/upload/index.md +50 -0
- package/docs/runner/generate/index.md +43 -0
- package/docs/runner/index.md +72 -0
- package/docs/runner/upload/index.md +50 -0
- package/docs/timing/index.md +78 -0
- package/docs/timing/list/index.md +71 -0
- package/package.json +29 -19
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: login-index
|
|
3
|
+
title: login
|
|
4
|
+
sidebar_position: 10
|
|
5
|
+
---
|
|
6
|
+
# login
|
|
7
|
+
|
|
8
|
+
Authenticate user with signageOS
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Description
|
|
12
|
+
|
|
13
|
+
Handles user authentication using username/email and password credentials.
|
|
14
|
+
Supports both Auth0 and legacy authentication methods. Stores credentials
|
|
15
|
+
securely in the ~/.sosrc configuration file for subsequent CLI operations.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
sos login [options]
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Options
|
|
24
|
+
|
|
25
|
+
| Option | Description |
|
|
26
|
+
| ------------ | --------------------------------------------------- |
|
|
27
|
+
| `--username` | Username or e-mail used for authentication (string) |
|
|
28
|
+
|
|
29
|
+
## Examples
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Interactive login (prompts for username and password)
|
|
33
|
+
sos login
|
|
34
|
+
|
|
35
|
+
# Login with username specified
|
|
36
|
+
sos login --username user@example.com
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Advanced Usage
|
|
40
|
+
|
|
41
|
+
### Configuration Management
|
|
42
|
+
|
|
43
|
+
#### Run Control File
|
|
44
|
+
|
|
45
|
+
Login credentials are stored in `~/.sosrc` file. For the default profile, it contains:
|
|
46
|
+
|
|
47
|
+
```ini
|
|
48
|
+
identification=xxxxxxxxxxxxxxxxxxxx
|
|
49
|
+
apiSecurityToken=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
#### Multiple Profiles
|
|
53
|
+
|
|
54
|
+
You can manage multiple accounts/configurations using profiles with the `SOS_PROFILE` environment variable or `--profile` argument:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Login with specific profile
|
|
58
|
+
sos login --profile production
|
|
59
|
+
|
|
60
|
+
# Use profile in subsequent commands
|
|
61
|
+
sos --profile production applet upload
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
The configuration file uses INI sections for named profiles:
|
|
65
|
+
|
|
66
|
+
```ini
|
|
67
|
+
[profile production]
|
|
68
|
+
identification=xxxxxxxxxxxxxxxxxxxx
|
|
69
|
+
apiSecurityToken=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
70
|
+
|
|
71
|
+
[profile staging]
|
|
72
|
+
identification=yyyyyyyyyyyyyyyyyyyy
|
|
73
|
+
apiSecurityToken=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
#### Environment Variables
|
|
77
|
+
|
|
78
|
+
You can override login credentials using environment variables:
|
|
79
|
+
|
|
80
|
+
- **`SOS_API_IDENTIFICATION`**: Override stored identification
|
|
81
|
+
- **`SOS_API_SECURITY_TOKEN`**: Override stored security token
|
|
82
|
+
- **`SOS_PROFILE`**: Specify which profile to use
|
|
83
|
+
|
|
84
|
+
Generate tokens at: https://box.signageos.io/settings
|
|
85
|
+
|
|
86
|
+
### Requirements
|
|
87
|
+
|
|
88
|
+
- Active account. It can be obtained by manual sign-up in [https://box.signageos.io](https://box.signageos.io)
|
|
89
|
+
- Login account credentials are stored in `~/.sosrc` file
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## Since
|
|
93
|
+
|
|
94
|
+
0.3.0
|
|
95
|
+
|
|
96
|
+
## Global Options
|
|
97
|
+
|
|
98
|
+
All commands support the following global options:
|
|
99
|
+
|
|
100
|
+
| Option | Alias | Description |
|
|
101
|
+
|--------|-------|-------------|
|
|
102
|
+
| `--help` | `-h` | Display help information for any command |
|
|
103
|
+
| `--version` | `-v` | Display the installed version of the CLI |
|
|
104
|
+
| `--api-url` | `-u` | Override the API URL for REST requests |
|
|
105
|
+
| `--profile` | | Use a specific profile from ~/.sosrc config |
|
|
106
|
+
|
|
107
|
+
### Examples
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
# Show version
|
|
111
|
+
sos --version
|
|
112
|
+
|
|
113
|
+
# Get help for any command
|
|
114
|
+
sos applet --help
|
|
115
|
+
sos applet upload --help
|
|
116
|
+
|
|
117
|
+
# Use custom API endpoint
|
|
118
|
+
sos --api-url https://api.example.com applet upload
|
|
119
|
+
|
|
120
|
+
# Use specific profile
|
|
121
|
+
sos --profile production organization list
|
|
122
|
+
```
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: organization-get-index
|
|
3
|
+
title: get
|
|
4
|
+
sidebar_position: 62
|
|
5
|
+
---
|
|
6
|
+
# get
|
|
7
|
+
|
|
8
|
+
Get detailed information about a specific organization
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Description
|
|
12
|
+
|
|
13
|
+
Retrieves and displays detailed information about a specific organization
|
|
14
|
+
by its UID. If no organization UID is provided, uses the default organization
|
|
15
|
+
or prompts for selection from available organizations.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
sos organization get [options]
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Options
|
|
24
|
+
|
|
25
|
+
| Option | Description |
|
|
26
|
+
| --------------------------- | ---------------------------------------------------------------- |
|
|
27
|
+
| `--no-default-organization` | Prevent using the defaultOrganizationUid from ~/.sosrc (boolean) |
|
|
28
|
+
| `--organization-uid` | Organization UID (string) |
|
|
29
|
+
|
|
30
|
+
## Examples
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
# Get default organization details
|
|
34
|
+
sos organization get
|
|
35
|
+
|
|
36
|
+
# Get specific organization by UID
|
|
37
|
+
sos organization get --organization-uid abc123def456
|
|
38
|
+
|
|
39
|
+
# Force organization selection (skip default)
|
|
40
|
+
sos organization get --no-default-organization
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Since
|
|
44
|
+
|
|
45
|
+
0.3.0
|
|
46
|
+
|
|
47
|
+
## Global Options
|
|
48
|
+
|
|
49
|
+
All commands support the following global options:
|
|
50
|
+
|
|
51
|
+
| Option | Alias | Description |
|
|
52
|
+
|--------|-------|-------------|
|
|
53
|
+
| `--help` | `-h` | Display help information for any command |
|
|
54
|
+
| `--version` | `-v` | Display the installed version of the CLI |
|
|
55
|
+
| `--api-url` | `-u` | Override the API URL for REST requests |
|
|
56
|
+
| `--profile` | | Use a specific profile from ~/.sosrc config |
|
|
57
|
+
|
|
58
|
+
### Examples
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# Show version
|
|
62
|
+
sos --version
|
|
63
|
+
|
|
64
|
+
# Get help for any command
|
|
65
|
+
sos applet --help
|
|
66
|
+
sos applet upload --help
|
|
67
|
+
|
|
68
|
+
# Use custom API endpoint
|
|
69
|
+
sos --api-url https://api.example.com applet upload
|
|
70
|
+
|
|
71
|
+
# Use specific profile
|
|
72
|
+
sos --profile production organization list
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
## See Also
|
|
77
|
+
|
|
78
|
+
- [List organizations for selection](../list/)
|
|
79
|
+
- [Organization management commands](../)
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: organization-index
|
|
3
|
+
title: organization
|
|
4
|
+
sidebar_position: 60
|
|
5
|
+
---
|
|
6
|
+
# organization
|
|
7
|
+
|
|
8
|
+
Organization management operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Description
|
|
12
|
+
|
|
13
|
+
Provides commands to manage signageOS organizations including listing available organizations,
|
|
14
|
+
retrieving organization details, and setting default organization for CLI operations.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
sos organization <subcommand> [options]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Subcommands
|
|
23
|
+
|
|
24
|
+
### list
|
|
25
|
+
|
|
26
|
+
List organizations for logged account
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
sos organization list [options]
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[→ See detailed documentation](/cli/organization/list/)
|
|
33
|
+
|
|
34
|
+
### get
|
|
35
|
+
|
|
36
|
+
Get detailed information about a specific organization
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
sos organization get [options]
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[→ See detailed documentation](/cli/organization/get/)
|
|
43
|
+
|
|
44
|
+
### set-default
|
|
45
|
+
|
|
46
|
+
Set a default organization for CLI operations
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
sos organization set-default [options]
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
[→ See detailed documentation](/cli/organization/set-default/)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## Examples
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
# List all organizations
|
|
59
|
+
sos organization list
|
|
60
|
+
|
|
61
|
+
# Get specific organization details
|
|
62
|
+
sos organization get --organization-uid abc123
|
|
63
|
+
|
|
64
|
+
# Set default organization
|
|
65
|
+
sos organization set-default
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Since
|
|
69
|
+
|
|
70
|
+
0.3.0
|
|
71
|
+
|
|
72
|
+
## Global Options
|
|
73
|
+
|
|
74
|
+
All commands support the following global options:
|
|
75
|
+
|
|
76
|
+
| Option | Alias | Description |
|
|
77
|
+
|--------|-------|-------------|
|
|
78
|
+
| `--help` | `-h` | Display help information for any command |
|
|
79
|
+
| `--version` | `-v` | Display the installed version of the CLI |
|
|
80
|
+
| `--api-url` | `-u` | Override the API URL for REST requests |
|
|
81
|
+
| `--profile` | | Use a specific profile from ~/.sosrc config |
|
|
82
|
+
|
|
83
|
+
### Examples
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
# Show version
|
|
87
|
+
sos --version
|
|
88
|
+
|
|
89
|
+
# Get help for any command
|
|
90
|
+
sos applet --help
|
|
91
|
+
sos applet upload --help
|
|
92
|
+
|
|
93
|
+
# Use custom API endpoint
|
|
94
|
+
sos --api-url https://api.example.com applet upload
|
|
95
|
+
|
|
96
|
+
# Use specific profile
|
|
97
|
+
sos --profile production organization list
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
## Related Commands
|
|
102
|
+
|
|
103
|
+
- [`sos organization list`](/cli/organization/list/) - List organizations for logged account
|
|
104
|
+
- [`sos organization get`](/cli/organization/get/) - Get detailed information about a specific organization
|
|
105
|
+
- [`sos organization set-default`](/cli/organization/set-default/) - Set a default organization for CLI operations
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: organization-list-index
|
|
3
|
+
title: list
|
|
4
|
+
sidebar_position: 61
|
|
5
|
+
---
|
|
6
|
+
# list
|
|
7
|
+
|
|
8
|
+
List organizations for logged account
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Description
|
|
12
|
+
|
|
13
|
+
Retrieves and displays all organizations that the currently authenticated
|
|
14
|
+
account has access to. This command helps users understand which organizations
|
|
15
|
+
they can work with and select appropriate targets for other CLI operations.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
sos organization list [options]
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Examples
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# List all accessible organizations
|
|
27
|
+
sos organization list
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Since
|
|
31
|
+
|
|
32
|
+
0.3.0
|
|
33
|
+
|
|
34
|
+
## Global Options
|
|
35
|
+
|
|
36
|
+
All commands support the following global options:
|
|
37
|
+
|
|
38
|
+
| Option | Alias | Description |
|
|
39
|
+
|--------|-------|-------------|
|
|
40
|
+
| `--help` | `-h` | Display help information for any command |
|
|
41
|
+
| `--version` | `-v` | Display the installed version of the CLI |
|
|
42
|
+
| `--api-url` | `-u` | Override the API URL for REST requests |
|
|
43
|
+
| `--profile` | | Use a specific profile from ~/.sosrc config |
|
|
44
|
+
|
|
45
|
+
### Examples
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
# Show version
|
|
49
|
+
sos --version
|
|
50
|
+
|
|
51
|
+
# Get help for any command
|
|
52
|
+
sos applet --help
|
|
53
|
+
sos applet upload --help
|
|
54
|
+
|
|
55
|
+
# Use custom API endpoint
|
|
56
|
+
sos --api-url https://api.example.com applet upload
|
|
57
|
+
|
|
58
|
+
# Use specific profile
|
|
59
|
+
sos --profile production organization list
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
## See Also
|
|
64
|
+
|
|
65
|
+
- [Get detailed organization information](../get/)
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: organization-set-default-index
|
|
3
|
+
title: set-default
|
|
4
|
+
sidebar_position: 63
|
|
5
|
+
---
|
|
6
|
+
# set-default
|
|
7
|
+
|
|
8
|
+
Set a default organization for CLI operations
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Description
|
|
12
|
+
|
|
13
|
+
Sets a default organization that will be used automatically in subsequent CLI commands
|
|
14
|
+
that require an organization context. This eliminates the need to specify the organization
|
|
15
|
+
UID for each command. The default organization is stored in the ~/.sosrc configuration file.
|
|
16
|
+
|
|
17
|
+
:::tip Remarks
|
|
18
|
+
The default organization can be overridden using the SOS_ORGANIZATION_UID environment variable
|
|
19
|
+
or by using the --organization-uid flag in individual commands.
|
|
20
|
+
:::
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
sos organization set-default [options]
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Options
|
|
29
|
+
|
|
30
|
+
| Option | Description |
|
|
31
|
+
| -------------------- | ------------------------- |
|
|
32
|
+
| `--organization-uid` | Organization UID (string) |
|
|
33
|
+
|
|
34
|
+
## Examples
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Interactive selection of default organization
|
|
38
|
+
sos organization set-default
|
|
39
|
+
|
|
40
|
+
# Set specific organization as default
|
|
41
|
+
sos organization set-default --organization-uid abc123
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Since
|
|
45
|
+
|
|
46
|
+
1.0.0
|
|
47
|
+
|
|
48
|
+
## Global Options
|
|
49
|
+
|
|
50
|
+
All commands support the following global options:
|
|
51
|
+
|
|
52
|
+
| Option | Alias | Description |
|
|
53
|
+
|--------|-------|-------------|
|
|
54
|
+
| `--help` | `-h` | Display help information for any command |
|
|
55
|
+
| `--version` | `-v` | Display the installed version of the CLI |
|
|
56
|
+
| `--api-url` | `-u` | Override the API URL for REST requests |
|
|
57
|
+
| `--profile` | | Use a specific profile from ~/.sosrc config |
|
|
58
|
+
|
|
59
|
+
### Examples
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
# Show version
|
|
63
|
+
sos --version
|
|
64
|
+
|
|
65
|
+
# Get help for any command
|
|
66
|
+
sos applet --help
|
|
67
|
+
sos applet upload --help
|
|
68
|
+
|
|
69
|
+
# Use custom API endpoint
|
|
70
|
+
sos --api-url https://api.example.com applet upload
|
|
71
|
+
|
|
72
|
+
# Use specific profile
|
|
73
|
+
sos --profile production organization list
|
|
74
|
+
```
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: plugin-generate-index
|
|
3
|
+
title: generate
|
|
4
|
+
sidebar_position: 0
|
|
5
|
+
---
|
|
6
|
+
# generate
|
|
7
|
+
|
|
8
|
+
Generates a local repository for developing a Plugin
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
sos plugin generate [options]
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Global Options
|
|
18
|
+
|
|
19
|
+
All commands support the following global options:
|
|
20
|
+
|
|
21
|
+
| Option | Alias | Description |
|
|
22
|
+
|--------|-------|-------------|
|
|
23
|
+
| `--help` | `-h` | Display help information for any command |
|
|
24
|
+
| `--version` | `-v` | Display the installed version of the CLI |
|
|
25
|
+
| `--api-url` | `-u` | Override the API URL for REST requests |
|
|
26
|
+
| `--profile` | | Use a specific profile from ~/.sosrc config |
|
|
27
|
+
|
|
28
|
+
### Examples
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# Show version
|
|
32
|
+
sos --version
|
|
33
|
+
|
|
34
|
+
# Get help for any command
|
|
35
|
+
sos applet --help
|
|
36
|
+
sos applet upload --help
|
|
37
|
+
|
|
38
|
+
# Use custom API endpoint
|
|
39
|
+
sos --api-url https://api.example.com applet upload
|
|
40
|
+
|
|
41
|
+
# Use specific profile
|
|
42
|
+
sos --profile production organization list
|
|
43
|
+
```
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: plugin-index
|
|
3
|
+
title: plugin
|
|
4
|
+
sidebar_position: 0
|
|
5
|
+
---
|
|
6
|
+
# plugin
|
|
7
|
+
|
|
8
|
+
Plugin management
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
sos plugin <subcommand> [options]
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Subcommands
|
|
18
|
+
|
|
19
|
+
### generate
|
|
20
|
+
|
|
21
|
+
Generates a local repository for developing a Plugin
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
sos plugin generate [options]
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[→ See detailed documentation](/cli/plugin/generate/)
|
|
28
|
+
|
|
29
|
+
### upload
|
|
30
|
+
|
|
31
|
+
Uploads current plugin version
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
sos plugin upload [options]
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
[→ See detailed documentation](/cli/plugin/upload/)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## Global Options
|
|
41
|
+
|
|
42
|
+
All commands support the following global options:
|
|
43
|
+
|
|
44
|
+
| Option | Alias | Description |
|
|
45
|
+
|--------|-------|-------------|
|
|
46
|
+
| `--help` | `-h` | Display help information for any command |
|
|
47
|
+
| `--version` | `-v` | Display the installed version of the CLI |
|
|
48
|
+
| `--api-url` | `-u` | Override the API URL for REST requests |
|
|
49
|
+
| `--profile` | | Use a specific profile from ~/.sosrc config |
|
|
50
|
+
|
|
51
|
+
### Examples
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# Show version
|
|
55
|
+
sos --version
|
|
56
|
+
|
|
57
|
+
# Get help for any command
|
|
58
|
+
sos applet --help
|
|
59
|
+
sos applet upload --help
|
|
60
|
+
|
|
61
|
+
# Use custom API endpoint
|
|
62
|
+
sos --api-url https://api.example.com applet upload
|
|
63
|
+
|
|
64
|
+
# Use specific profile
|
|
65
|
+
sos --profile production organization list
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
## Related Commands
|
|
70
|
+
|
|
71
|
+
- [`sos plugin generate`](/cli/plugin/generate/) - Generates a local repository for developing a Plugin
|
|
72
|
+
- [`sos plugin upload`](/cli/plugin/upload/) - Uploads current plugin version
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: plugin-upload-index
|
|
3
|
+
title: upload
|
|
4
|
+
sidebar_position: 0
|
|
5
|
+
---
|
|
6
|
+
# upload
|
|
7
|
+
|
|
8
|
+
Uploads current plugin version
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
sos plugin upload [options]
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Options
|
|
18
|
+
|
|
19
|
+
| Option | Description |
|
|
20
|
+
| --------------------------- | ---------------------------------------------------------------- |
|
|
21
|
+
| `--no-default-organization` | Prevent using the defaultOrganizationUid from ~/.sosrc (boolean) |
|
|
22
|
+
| `--organization-uid` | Organization UID (string) |
|
|
23
|
+
|
|
24
|
+
## Global Options
|
|
25
|
+
|
|
26
|
+
All commands support the following global options:
|
|
27
|
+
|
|
28
|
+
| Option | Alias | Description |
|
|
29
|
+
|--------|-------|-------------|
|
|
30
|
+
| `--help` | `-h` | Display help information for any command |
|
|
31
|
+
| `--version` | `-v` | Display the installed version of the CLI |
|
|
32
|
+
| `--api-url` | `-u` | Override the API URL for REST requests |
|
|
33
|
+
| `--profile` | | Use a specific profile from ~/.sosrc config |
|
|
34
|
+
|
|
35
|
+
### Examples
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
# Show version
|
|
39
|
+
sos --version
|
|
40
|
+
|
|
41
|
+
# Get help for any command
|
|
42
|
+
sos applet --help
|
|
43
|
+
sos applet upload --help
|
|
44
|
+
|
|
45
|
+
# Use custom API endpoint
|
|
46
|
+
sos --api-url https://api.example.com applet upload
|
|
47
|
+
|
|
48
|
+
# Use specific profile
|
|
49
|
+
sos --profile production organization list
|
|
50
|
+
```
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: runner-generate-index
|
|
3
|
+
title: generate
|
|
4
|
+
sidebar_position: 0
|
|
5
|
+
---
|
|
6
|
+
# generate
|
|
7
|
+
|
|
8
|
+
Generates a local repository for developing a Runner
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
sos runner generate [options]
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Global Options
|
|
18
|
+
|
|
19
|
+
All commands support the following global options:
|
|
20
|
+
|
|
21
|
+
| Option | Alias | Description |
|
|
22
|
+
|--------|-------|-------------|
|
|
23
|
+
| `--help` | `-h` | Display help information for any command |
|
|
24
|
+
| `--version` | `-v` | Display the installed version of the CLI |
|
|
25
|
+
| `--api-url` | `-u` | Override the API URL for REST requests |
|
|
26
|
+
| `--profile` | | Use a specific profile from ~/.sosrc config |
|
|
27
|
+
|
|
28
|
+
### Examples
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
# Show version
|
|
32
|
+
sos --version
|
|
33
|
+
|
|
34
|
+
# Get help for any command
|
|
35
|
+
sos applet --help
|
|
36
|
+
sos applet upload --help
|
|
37
|
+
|
|
38
|
+
# Use custom API endpoint
|
|
39
|
+
sos --api-url https://api.example.com applet upload
|
|
40
|
+
|
|
41
|
+
# Use specific profile
|
|
42
|
+
sos --profile production organization list
|
|
43
|
+
```
|