11 lines
552 B
JavaScript
11 lines
552 B
JavaScript
// Explicit offline command only. Run with the TS loader; never startup/import.
|
|
import { databaseSourceBindingOperatorCli } from './database-source-binding-operator.ts'
|
|
try {
|
|
const result = await databaseSourceBindingOperatorCli(process.argv.slice(2))
|
|
console.log(JSON.stringify(result, null, 2))
|
|
} catch {
|
|
// Do not reflect request contents, key data or untrusted filenames.
|
|
console.error('Offline operator source-binding provisioning refused; inspect the explicitly selected output before any new manual invocation')
|
|
process.exitCode = 1
|
|
}
|