We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 986bfb0 commit d4916b5Copy full SHA for d4916b5
cli.ts
@@ -9,5 +9,5 @@ if (!existsSync(dir)){
9
mkdirSync(dir)
10
}
11
12
-writeFileSync(outPath, '#!/usr/bin/env node\nrequire(\'../\').startCli()')
+writeFileSync(outPath, '#!/usr/bin/env node\nrequire(\'./camera-probe-cjs\').cli()')
13
chmodSync(outPath, '755')
src/index.ts
@@ -7,7 +7,7 @@ export * from './config/config.interface'
7
export const probe = initSocketStream.flatMap(onvifProbe)
8
export const devices$ = () => probe.run(DEFAULT_CONFIG)
-export const startCli$ = () => devices$()
+export const cli = () => devices$()
.subscribe(v => {
console.log('\n')
console.log('Scanning for networked cameras...')
0 commit comments