@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.
Files changed (125) hide show
  1. package/README.md +27 -1
  2. package/dist/Applet/Build/appletBuildCommand.d.ts +28 -2
  3. package/dist/Applet/Build/appletBuildCommand.js +27 -1
  4. package/dist/Applet/Generate/Templates/index.js.template +1 -1
  5. package/dist/Applet/Generate/Templates/tsconfig.js.template +1 -1
  6. package/dist/Applet/Generate/appletGenerateCommand.d.ts +29 -23
  7. package/dist/Applet/Generate/appletGenerateCommand.js +38 -32
  8. package/dist/Applet/Start/appletStartCommand.d.ts +44 -2
  9. package/dist/Applet/Start/appletStartCommand.js +44 -2
  10. package/dist/Applet/Test/Upload/appletTestRunCommand.d.ts +25 -2
  11. package/dist/Applet/Test/Upload/appletTestRunCommand.js +24 -1
  12. package/dist/Applet/Test/Upload/appletTestUploadCommand.d.ts +34 -4
  13. package/dist/Applet/Test/Upload/appletTestUploadCommand.js +32 -2
  14. package/dist/Applet/Test/appletTestCommand.d.ts +23 -6
  15. package/dist/Applet/Test/appletTestCommand.js +17 -0
  16. package/dist/Applet/Upload/appletUploadCommand.d.ts +46 -4
  17. package/dist/Applet/Upload/appletUploadCommand.js +44 -2
  18. package/dist/Applet/Upload/appletUploadFacade.js +3 -3
  19. package/dist/Applet/appletCommand.d.ts +42 -10
  20. package/dist/Applet/appletCommand.js +33 -1
  21. package/dist/Auth/loginCommand.d.ts +23 -2
  22. package/dist/Auth/loginCommand.js +42 -14
  23. package/dist/Command/Autocomplete/Install/installAutocompleteCommand.d.ts +17 -0
  24. package/dist/Command/Autocomplete/Install/installAutocompleteCommand.js +17 -0
  25. package/dist/Command/Autocomplete/Install/installAutocompleteCommand.ts +17 -0
  26. package/dist/Command/Autocomplete/Uninstall/uninstallAutocompleteCommand.d.ts +17 -0
  27. package/dist/Command/Autocomplete/Uninstall/uninstallAutocompleteCommand.js +22 -5
  28. package/dist/Command/Autocomplete/autocompleteCommand.d.ts +18 -0
  29. package/dist/Command/Autocomplete/autocompleteCommand.js +19 -1
  30. package/dist/Command/autoComplete.js +2 -2
  31. package/dist/Command/globalArgs.d.ts +33 -0
  32. package/dist/Command/globalArgs.js +33 -0
  33. package/dist/CustomScript/Generate/customScriptGenerateCommand.d.ts +19 -0
  34. package/dist/CustomScript/Generate/customScriptGenerateCommand.js +20 -1
  35. package/dist/CustomScript/Upload/customScriptUploadCommand.d.ts +32 -2
  36. package/dist/CustomScript/Upload/customScriptUploadCommand.js +31 -1
  37. package/dist/CustomScript/customScriptCommand.d.ts +21 -1
  38. package/dist/CustomScript/customScriptCommand.js +20 -0
  39. package/dist/CustomScript/customScriptFacade.d.ts +5 -5
  40. package/dist/CustomScript/customScriptFacade.js +5 -4
  41. package/dist/Device/Connect/connectCommand.d.ts +51 -2
  42. package/dist/Device/Connect/connectCommand.js +50 -1
  43. package/dist/Device/Content/setContentCommand.d.ts +28 -2
  44. package/dist/Device/Content/setContentCommand.js +27 -1
  45. package/dist/Device/PowerAction/powerActionCommand.d.ts +54 -2
  46. package/dist/Device/PowerAction/powerActionCommand.js +52 -0
  47. package/dist/Device/deviceCommand.d.ts +26 -6
  48. package/dist/Device/deviceCommand.js +21 -1
  49. package/dist/Device/deviceFacade.d.ts +1 -1
  50. package/dist/Firmware/Upload/firmwareUploadCommand.d.ts +42 -0
  51. package/dist/Firmware/Upload/firmwareUploadCommand.js +40 -6
  52. package/dist/Firmware/Upload/firmwareUploadFacade.js +1 -1
  53. package/dist/Firmware/firmwareCommand.d.ts +25 -0
  54. package/dist/Firmware/firmwareCommand.js +18 -1
  55. package/dist/Lib/childProcess.js +2 -2
  56. package/dist/Organization/Get/organizationGetCommand.d.ts +31 -2
  57. package/dist/Organization/Get/organizationGetCommand.js +31 -2
  58. package/dist/Organization/List/organizationListCommand.d.ts +20 -0
  59. package/dist/Organization/List/organizationListCommand.js +21 -1
  60. package/dist/Organization/SetDefault/organizationSetDefaultCommand.d.ts +24 -0
  61. package/dist/Organization/SetDefault/organizationSetDefaultCommand.js +25 -1
  62. package/dist/Organization/organizationCommand.d.ts +27 -2
  63. package/dist/Organization/organizationCommand.js +26 -1
  64. package/dist/Organization/organizationFacade.d.ts +2 -2
  65. package/dist/Organization/organizationFacade.js +3 -3
  66. package/dist/Plugin/Generate/pluginGenerateCommand.d.ts +7 -0
  67. package/dist/Plugin/Generate/pluginGenerateCommand.js +38 -0
  68. package/dist/Plugin/Generate/pluginGenerateFacade.d.ts +12 -0
  69. package/dist/Plugin/Generate/pluginGenerateFacade.js +106 -0
  70. package/dist/Plugin/Upload/pluginUploadCommand.d.ts +25 -0
  71. package/dist/Plugin/Upload/pluginUploadCommand.js +70 -0
  72. package/dist/Plugin/pluginCommand.d.ts +27 -0
  73. package/dist/Plugin/pluginCommand.js +26 -0
  74. package/dist/Plugin/pluginFacade.d.ts +62 -0
  75. package/dist/Plugin/pluginFacade.js +251 -0
  76. package/dist/Runner/Generate/runnerGenerateCommand.d.ts +7 -0
  77. package/dist/Runner/Generate/runnerGenerateCommand.js +38 -0
  78. package/dist/Runner/Generate/runnerGenerateFacade.d.ts +12 -0
  79. package/dist/Runner/Generate/runnerGenerateFacade.js +107 -0
  80. package/dist/Runner/Upload/runnerUploadCommand.d.ts +25 -0
  81. package/dist/Runner/Upload/runnerUploadCommand.js +72 -0
  82. package/dist/Runner/runnerCommand.d.ts +27 -0
  83. package/dist/Runner/runnerCommand.js +26 -0
  84. package/dist/Runner/runnerFacede.d.ts +15 -0
  85. package/dist/Runner/runnerFacede.js +234 -0
  86. package/dist/Timing/List/timingListCommand.d.ts +26 -2
  87. package/dist/Timing/List/timingListCommand.js +26 -2
  88. package/dist/Timing/timingCommand.d.ts +17 -2
  89. package/dist/Timing/timingCommand.js +15 -0
  90. package/dist/helper.d.ts +5 -5
  91. package/dist/helper.js +4 -6
  92. package/dist/index.js +26 -2
  93. package/docs/applet/build/index.md +74 -0
  94. package/docs/applet/generate/index.md +118 -0
  95. package/docs/applet/index.md +134 -0
  96. package/docs/applet/start/index.md +104 -0
  97. package/docs/applet/test/index.md +91 -0
  98. package/docs/applet/test/run/index.md +82 -0
  99. package/docs/applet/test/upload/index.md +80 -0
  100. package/docs/applet/upload/index.md +131 -0
  101. package/docs/autocomplete/index.md +92 -0
  102. package/docs/autocomplete/install/index.md +120 -0
  103. package/docs/autocomplete/uninstall/index.md +65 -0
  104. package/docs/custom-script/generate/index.md +66 -0
  105. package/docs/custom-script/index.md +96 -0
  106. package/docs/custom-script/upload/index.md +78 -0
  107. package/docs/device/connect/index.md +148 -0
  108. package/docs/device/index.md +105 -0
  109. package/docs/device/power-action/index.md +130 -0
  110. package/docs/device/set-content/index.md +72 -0
  111. package/docs/index.md +170 -0
  112. package/docs/login/index.md +122 -0
  113. package/docs/organization/get/index.md +79 -0
  114. package/docs/organization/index.md +105 -0
  115. package/docs/organization/list/index.md +65 -0
  116. package/docs/organization/set-default/index.md +74 -0
  117. package/docs/plugin/generate/index.md +43 -0
  118. package/docs/plugin/index.md +72 -0
  119. package/docs/plugin/upload/index.md +50 -0
  120. package/docs/runner/generate/index.md +43 -0
  121. package/docs/runner/index.md +72 -0
  122. package/docs/runner/upload/index.md +50 -0
  123. package/docs/timing/index.md +78 -0
  124. package/docs/timing/list/index.md +71 -0
  125. package/package.json +29 -19
@@ -0,0 +1,118 @@
1
+ ---
2
+ id: applet-generate-index
3
+ title: generate
4
+ sidebar_position: 21
5
+ ---
6
+ # generate
7
+
8
+ Generate new signageOS applet projects with boilerplate code
9
+
10
+
11
+ ## Description
12
+
13
+ Creates a new applet project with all necessary configuration files, dependencies,
14
+ and boilerplate code. Supports both TypeScript and JavaScript, multiple bundlers
15
+ (webpack/rspack), various package managers (npm/pnpm/yarn/bun), and includes
16
+ git repository initialization.
17
+
18
+ ## Usage
19
+
20
+ ```bash
21
+ sos applet generate [options]
22
+ ```
23
+
24
+ ## Options
25
+
26
+ | Option | Description | Default |
27
+ | ------------------ | ------------------------------------------------------------------------------- | ------- |
28
+ | `--name` | Applet name. Match RegExp: /^\w(\w|\d|-)*\w$/ (string) | |
29
+ | `--applet-version` | Applet initial version. Use semantic version (string) | `0.0.0` |
30
+ | `--target-dir` | Directory where will be the applet generated to (string) | |
31
+ | `--git` | Init applet as git repository "no" (default) or "yes" (string) | |
32
+ | `--packager` | Use preferred package manager "npm" (default), "pnpm", "yarn" or "bun" (string) | |
33
+ | `--npm-registry` | NPM registry URL. If you have your private npm registry (string) | |
34
+ | `--language` | Generate applet with "typescript" or "javascript" source code (string) | |
35
+ | `--bundler` | Generate applet with "webpack" (default) or "rspack" (string) | |
36
+
37
+ ## Examples
38
+
39
+ ```bash
40
+ # Interactive generation with prompts
41
+ sos applet generate
42
+
43
+ # Generate TypeScript applet with webpack
44
+ sos applet generate --name my-applet --language typescript --bundler webpack
45
+
46
+ # Generate with custom settings
47
+ sos applet generate --name my-app --target-dir ./projects --git yes --packager pnpm
48
+
49
+ # Generate with npm registry
50
+ sos applet generate --name my-applet --npm-registry https://registry.npmjs.org/ --packager npm
51
+
52
+ # Generate applet with specific configuration
53
+ sos applet generate --name my-applet --applet-version 1.0.0 --target-dir ./output --language typescript --bundler webpack --git yes
54
+ ```
55
+
56
+ ## Advanced Usage
57
+
58
+ ### Platform Notes
59
+
60
+ #### Windows Users
61
+
62
+ There is an unresolved issue with NPX tool on Windows when your username contains spaces (e.g., `John Doe`). To prevent this issue, run the following command in your Command Line (replace `John` with your real first name). Administrator privileges may be required:
63
+
64
+ ```cmd
65
+ npm config set cache "C:\Users\John~1\AppData\Roaming\npm-cache" --global
66
+ ```
67
+
68
+ For more details, see: https://stackoverflow.com/a/58354623/4609457
69
+
70
+ ### Development Workflow
71
+
72
+ ```bash
73
+ # Complete workflow from generation to deployment
74
+ sos applet generate --name my-sample-applet --language typescript --bundler webpack --git yes
75
+ cd my-sample-applet
76
+
77
+ # Start development with hot reload
78
+ npm start
79
+
80
+ # Build for production
81
+ npm run build
82
+
83
+ # Upload to platform
84
+ npm run upload
85
+ ```
86
+
87
+
88
+ ## Since
89
+
90
+ 0.1.0
91
+
92
+ ## Global Options
93
+
94
+ All commands support the following global options:
95
+
96
+ | Option | Alias | Description |
97
+ |--------|-------|-------------|
98
+ | `--help` | `-h` | Display help information for any command |
99
+ | `--version` | `-v` | Display the installed version of the CLI |
100
+ | `--api-url` | `-u` | Override the API URL for REST requests |
101
+ | `--profile` | | Use a specific profile from ~/.sosrc config |
102
+
103
+ ### Examples
104
+
105
+ ```bash
106
+ # Show version
107
+ sos --version
108
+
109
+ # Get help for any command
110
+ sos applet --help
111
+ sos applet upload --help
112
+
113
+ # Use custom API endpoint
114
+ sos --api-url https://api.example.com applet upload
115
+
116
+ # Use specific profile
117
+ sos --profile production organization list
118
+ ```
@@ -0,0 +1,134 @@
1
+ ---
2
+ id: applet-index
3
+ title: applet
4
+ sidebar_position: 20
5
+ ---
6
+ # applet
7
+
8
+ Applet development and management operations
9
+
10
+
11
+ ## Description
12
+
13
+ Provides comprehensive commands for the complete applet development lifecycle including
14
+ project generation, development, building, testing, uploading, and deployment to signageOS devices.
15
+
16
+ ## Usage
17
+
18
+ ```bash
19
+ sos applet <subcommand> [options]
20
+ ```
21
+
22
+ ## Subcommands
23
+
24
+ ### generate
25
+
26
+ Generate new signageOS applet projects with boilerplate code
27
+
28
+ ```bash
29
+ sos applet generate [options]
30
+ ```
31
+
32
+ [→ See detailed documentation](/cli/applet/generate/)
33
+
34
+ ### upload
35
+
36
+ Uploads current applet version
37
+
38
+ ```bash
39
+ sos applet upload [options]
40
+ ```
41
+
42
+ [→ See detailed documentation](/cli/applet/upload/)
43
+
44
+ ### start
45
+
46
+ Start local applet development server with live preview
47
+
48
+ ```bash
49
+ sos applet start [options]
50
+ ```
51
+
52
+ [→ See detailed documentation](/cli/applet/start/)
53
+
54
+ ### test
55
+
56
+ Applet test management
57
+
58
+ ```bash
59
+ sos applet test <subcommand> [options]
60
+ ```
61
+
62
+ [→ See detailed documentation](/cli/applet/test/)
63
+
64
+ ### build
65
+
66
+ Build applet locally for production deployment.
67
+
68
+ ```bash
69
+ sos applet build [options]
70
+ ```
71
+
72
+ [→ See detailed documentation](/cli/applet/build/)
73
+
74
+
75
+ ## Examples
76
+
77
+ ```bash
78
+ # Create new applet project
79
+ sos applet generate --name my-applet
80
+
81
+ # Start development server
82
+ sos applet start
83
+
84
+ # Build for production
85
+ sos applet build
86
+
87
+ # Upload to platform
88
+ sos applet upload
89
+ ```
90
+
91
+ ## Since
92
+
93
+ 0.1.0
94
+
95
+ ## Global Options
96
+
97
+ All commands support the following global options:
98
+
99
+ | Option | Alias | Description |
100
+ |--------|-------|-------------|
101
+ | `--help` | `-h` | Display help information for any command |
102
+ | `--version` | `-v` | Display the installed version of the CLI |
103
+ | `--api-url` | `-u` | Override the API URL for REST requests |
104
+ | `--profile` | | Use a specific profile from ~/.sosrc config |
105
+
106
+ ### Examples
107
+
108
+ ```bash
109
+ # Show version
110
+ sos --version
111
+
112
+ # Get help for any command
113
+ sos applet --help
114
+ sos applet upload --help
115
+
116
+ # Use custom API endpoint
117
+ sos --api-url https://api.example.com applet upload
118
+
119
+ # Use specific profile
120
+ sos --profile production organization list
121
+ ```
122
+
123
+
124
+ ## Related Commands
125
+
126
+ - [`sos applet generate`](/cli/applet/generate/) - Generate new signageOS applet projects with boilerplate code
127
+ - [`sos applet upload`](/cli/applet/upload/) - Uploads current applet version
128
+ - [`sos applet start`](/cli/applet/start/) - Start local applet development server with live preview
129
+ - [`sos applet test`](/cli/applet/test/) - Applet test management
130
+ - [`sos applet build`](/cli/applet/build/) - Build applet locally for production deployment.
131
+
132
+ ## See Also
133
+
134
+ - [Applet Documentation](https://developers.signageos.io/docs/applets/)
@@ -0,0 +1,104 @@
1
+ ---
2
+ id: applet-start-index
3
+ title: start
4
+ sidebar_position: 23
5
+ ---
6
+ # start
7
+
8
+ Start local applet development server with live preview
9
+
10
+
11
+ ## Description
12
+
13
+ Starts a local development server with hot reload functionality, allowing developers
14
+ to preview their applets in a browser-based emulator. Supports both local development
15
+ and device connection for testing on actual signageOS devices.
16
+
17
+ :::tip Remarks
18
+ The development server provides a browser-based emulator accessible at http://localhost:8090
19
+ by default. Hot reload automatically refreshes the emulator when source code changes.
20
+ :::
21
+
22
+ ## Usage
23
+
24
+ ```bash
25
+ sos applet start [options]
26
+ ```
27
+
28
+ ## Options
29
+
30
+ | Option | Description | Default |
31
+ | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
32
+ | `--no-default-organization` | Prevent using the defaultOrganizationUid from ~/.sosrc (boolean) | |
33
+ | `--organization-uid` | Organization UID (string) | |
34
+ | `--port` | Port where will the applet run (number) | `8090` |
35
+ | `--applet-path` | Path to the applet file or the project folder depending on the entry file. Relative to the command or absolute. (string) | |
36
+ | `--entry-file-path` | Path to the applet entry file. Relative to the command or absolute. (string) | |
37
+ | `--hot-reload` | Enable hot reload and build of applet (boolean) | `false` |
38
+ | `--server-port` | The custom server port for local machine server. Default is detected from currently running applet server. (number) | |
39
+ | `--server-public-url` | Public url of local machine server. Is useful when the local machine is behind a reverse proxy. (string) | |
40
+ | `--force` | Force start applet server even if it is already running on a different port. Kill the running server first. (boolean) | |
41
+ | `--detach` | Detach the applet HTTP server process from the terminal. Useful when want to run more commands reusing the same http server for current applet. (boolean) | `false` |
42
+ | `--forward-server-url` | Url of forward server to connect to the device instead of the local network (LAN). (string) | |
43
+
44
+ ## Examples
45
+
46
+ ```bash
47
+ # Start development server with default settings
48
+ sos applet start
49
+
50
+ # Start with custom port and hot reload
51
+ sos applet start --port 8080 --hot-reload
52
+
53
+ # Start with specific organization
54
+ sos applet start --organization-uid abc123
55
+
56
+ # Start with custom applet path
57
+ sos applet start --applet-path ./my-applet
58
+
59
+ # Start with specific entry file
60
+ sos applet start --entry-file-path index.html
61
+
62
+ # Force restart if server is already running
63
+ sos applet start --force
64
+
65
+ # Run in detached mode
66
+ sos applet start --detach
67
+ ```
68
+
69
+ ## Since
70
+
71
+ 0.1.0
72
+
73
+ ## Global Options
74
+
75
+ All commands support the following global options:
76
+
77
+ | Option | Alias | Description |
78
+ |--------|-------|-------------|
79
+ | `--help` | `-h` | Display help information for any command |
80
+ | `--version` | `-v` | Display the installed version of the CLI |
81
+ | `--api-url` | `-u` | Override the API URL for REST requests |
82
+ | `--profile` | | Use a specific profile from ~/.sosrc config |
83
+
84
+ ### Examples
85
+
86
+ ```bash
87
+ # Show version
88
+ sos --version
89
+
90
+ # Get help for any command
91
+ sos applet --help
92
+ sos applet upload --help
93
+
94
+ # Use custom API endpoint
95
+ sos --api-url https://api.example.com applet upload
96
+
97
+ # Use specific profile
98
+ sos --profile production organization list
99
+ ```
100
+
101
+
102
+ ## See Also
103
+
104
+ - [Applet Development Documentation](https://developers.signageos.io/docs/applets/connect-to-device-cli/)
@@ -0,0 +1,91 @@
1
+ ---
2
+ id: applet-test-index
3
+ title: test
4
+ sidebar_position: 24
5
+ ---
6
+ # test
7
+
8
+ Applet test management
9
+
10
+
11
+ ## Description
12
+
13
+ Provides commands for testing applets on the signageOS platform, including
14
+ uploading test configurations and running remote tests on actual devices.
15
+
16
+ ## Usage
17
+
18
+ ```bash
19
+ sos applet test <subcommand> [options]
20
+ ```
21
+
22
+ ## Subcommands
23
+
24
+ ### upload
25
+
26
+ Upload applet tests to the signageOS platform
27
+
28
+ ```bash
29
+ sos applet test upload [options]
30
+ ```
31
+
32
+ [→ See detailed documentation](/cli/applet/test/upload/)
33
+
34
+ ### run
35
+
36
+ Run applet tests on signageOS devices
37
+
38
+ ```bash
39
+ sos applet test run [options]
40
+ ```
41
+
42
+ [→ See detailed documentation](/cli/applet/test/run/)
43
+
44
+
45
+ ## Examples
46
+
47
+ ```bash
48
+ # Upload test configuration
49
+ sos applet test upload
50
+
51
+ # Run tests remotely
52
+ sos applet test run
53
+ ```
54
+
55
+ ## Since
56
+
57
+ 0.10.0
58
+
59
+ ## Global Options
60
+
61
+ All commands support the following global options:
62
+
63
+ | Option | Alias | Description |
64
+ |--------|-------|-------------|
65
+ | `--help` | `-h` | Display help information for any command |
66
+ | `--version` | `-v` | Display the installed version of the CLI |
67
+ | `--api-url` | `-u` | Override the API URL for REST requests |
68
+ | `--profile` | | Use a specific profile from ~/.sosrc config |
69
+
70
+ ### Examples
71
+
72
+ ```bash
73
+ # Show version
74
+ sos --version
75
+
76
+ # Get help for any command
77
+ sos applet --help
78
+ sos applet upload --help
79
+
80
+ # Use custom API endpoint
81
+ sos --api-url https://api.example.com applet upload
82
+
83
+ # Use specific profile
84
+ sos --profile production organization list
85
+ ```
86
+
87
+
88
+ ## Related Commands
89
+
90
+ - [`sos applet test upload`](/cli/applet/test/upload/) - Upload applet tests to the signageOS platform
91
+ - [`sos applet test run`](/cli/applet/test/run/) - Run applet tests on signageOS devices
@@ -0,0 +1,82 @@
1
+ ---
2
+ id: applet-test-run-index
3
+ title: run
4
+ sidebar_position: 26
5
+ ---
6
+ # run
7
+
8
+ Run applet tests on signageOS devices
9
+
10
+
11
+ ## Description
12
+
13
+ Executes previously uploaded applet tests on remote signageOS devices. This command
14
+ triggers test execution and provides real-time feedback on test progress and results.
15
+ Tests can be run on specific devices or across multiple devices for comprehensive testing.
16
+
17
+ ## Usage
18
+
19
+ ```bash
20
+ sos applet test run [options]
21
+ ```
22
+
23
+ ## Options
24
+
25
+ | Option | Description |
26
+ | --------------------------- | ----------------------------------------------------------------------------------------- |
27
+ | `--no-default-organization` | Prevent using the defaultOrganizationUid from ~/.sosrc (boolean) |
28
+ | `--device-uid` | Device UID (string) |
29
+ | `--organization-uid` | Organization UID (string) |
30
+ | `--applet-uid` | Applet UID (string) |
31
+ | `--test` | Specify the test identifiers/files to be run. If not specified, all will be run. (string) |
32
+ | `--yes` | Allow to run applet test without confirmation step (boolean) |
33
+
34
+ ## Examples
35
+
36
+ ```bash
37
+ # Run all applet tests
38
+ sos applet test run --applet-uid my-applet --device-uid device123
39
+
40
+ # Run specific tests
41
+ sos applet test run --applet-uid my-applet --device-uid device123 --test "test1,test2"
42
+
43
+ # Run without confirmation
44
+ sos applet test run --applet-uid my-applet --device-uid device123 --yes
45
+ ```
46
+
47
+ ## Since
48
+
49
+ 0.10.0
50
+
51
+ ## Global Options
52
+
53
+ All commands support the following global options:
54
+
55
+ | Option | Alias | Description |
56
+ |--------|-------|-------------|
57
+ | `--help` | `-h` | Display help information for any command |
58
+ | `--version` | `-v` | Display the installed version of the CLI |
59
+ | `--api-url` | `-u` | Override the API URL for REST requests |
60
+ | `--profile` | | Use a specific profile from ~/.sosrc config |
61
+
62
+ ### Examples
63
+
64
+ ```bash
65
+ # Show version
66
+ sos --version
67
+
68
+ # Get help for any command
69
+ sos applet --help
70
+ sos applet upload --help
71
+
72
+ # Use custom API endpoint
73
+ sos --api-url https://api.example.com applet upload
74
+
75
+ # Use specific profile
76
+ sos --profile production organization list
77
+ ```
78
+
79
+
80
+ ## See Also
81
+
82
+ - [Upload test configuration command](../upload/)
@@ -0,0 +1,80 @@
1
+ ---
2
+ id: applet-test-upload-index
3
+ title: upload
4
+ sidebar_position: 25
5
+ ---
6
+ # upload
7
+
8
+ Upload applet tests to the signageOS platform
9
+
10
+
11
+ ## Description
12
+
13
+ Uploads test files for remote execution on signageOS devices. Test files are
14
+ identified based on the test configuration in package.json and uploaded to
15
+ the platform for automated testing. Supports incremental uploads with
16
+ change detection and confirmation prompts.
17
+
18
+ ## Usage
19
+
20
+ ```bash
21
+ sos applet test upload [options]
22
+ ```
23
+
24
+ ## Options
25
+
26
+ | Option | Description |
27
+ | --------------------------- | --------------------------------------------------------------------------------------------- |
28
+ | `--no-default-organization` | Prevent using the defaultOrganizationUid from ~/.sosrc (boolean) |
29
+ | `--organization-uid` | Organization UID (string) |
30
+ | `--applet-uid` | Applet UID (string) |
31
+ | `--yes` | Allow to upload new applet test or override existing test without confirmation step (boolean) |
32
+ | `--verbose` | Outputs all files to upload (boolean) |
33
+
34
+ ## Examples
35
+
36
+ ```bash
37
+ # Upload applet tests
38
+ sos applet test upload
39
+
40
+ # Upload tests with confirmation skip
41
+ sos applet test upload --yes
42
+
43
+ # Upload tests with verbose output
44
+ sos applet test upload --verbose
45
+
46
+ # Upload tests for specific applet
47
+ sos applet test upload --applet-uid my-applet-uid
48
+ ```
49
+
50
+ ## Since
51
+
52
+ 0.10.0
53
+
54
+ ## Global Options
55
+
56
+ All commands support the following global options:
57
+
58
+ | Option | Alias | Description |
59
+ |--------|-------|-------------|
60
+ | `--help` | `-h` | Display help information for any command |
61
+ | `--version` | `-v` | Display the installed version of the CLI |
62
+ | `--api-url` | `-u` | Override the API URL for REST requests |
63
+ | `--profile` | | Use a specific profile from ~/.sosrc config |
64
+
65
+ ### Examples
66
+
67
+ ```bash
68
+ # Show version
69
+ sos --version
70
+
71
+ # Get help for any command
72
+ sos applet --help
73
+ sos applet upload --help
74
+
75
+ # Use custom API endpoint
76
+ sos --api-url https://api.example.com applet upload
77
+
78
+ # Use specific profile
79
+ sos --profile production organization list
80
+ ```