obs-scheduler 0.0.1 → 0.0.2
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 +14 -1
- package/cli.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,10 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
A CLI for scheduling actions in OBS.
|
|
4
4
|
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```shell
|
|
8
|
+
npm install -g obs-scheduler
|
|
9
|
+
```
|
|
10
|
+
|
|
5
11
|
## Usage
|
|
6
12
|
|
|
7
13
|
```shell
|
|
8
|
-
obs-scheduler
|
|
14
|
+
Usage: obs-scheduler [options]
|
|
15
|
+
|
|
16
|
+
Options:
|
|
17
|
+
-V, --version output the version number
|
|
18
|
+
-c, --config <file-path> config file path
|
|
19
|
+
-i, --ip-address [address:port] OBS Websocket IP address and port
|
|
20
|
+
-p, --password [password] OBS Websocket password
|
|
21
|
+
-h, --help display help for command
|
|
9
22
|
```
|
|
10
23
|
|
|
11
24
|
## Examples
|
package/cli.js
CHANGED
|
@@ -6,8 +6,6 @@ import { program } from "commander";
|
|
|
6
6
|
|
|
7
7
|
program
|
|
8
8
|
.name('obs-scheduler')
|
|
9
|
-
.version('0.0.1')
|
|
10
|
-
.option('-c, --config <file-path>', 'config file path')
|
|
11
9
|
.option(
|
|
12
10
|
'-i, --ip-address [address:port]',
|
|
13
11
|
'OBS Websocket IP address and port',
|
|
@@ -18,6 +16,8 @@ program
|
|
|
18
16
|
'OBS Websocket password',
|
|
19
17
|
undefined,
|
|
20
18
|
)
|
|
19
|
+
.option('-c, --config <file-path>', 'config file path')
|
|
20
|
+
.version('0.0.2')
|
|
21
21
|
.action(run);
|
|
22
22
|
|
|
23
23
|
await program.parseAsync(process.argv);
|