mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-15 07:36:18 +00:00
10 lines
363 B
TypeScript
10 lines
363 B
TypeScript
|
type pbtsCallback = (err: Error|null, output?: string) => void;
|
||
|
|
||
|
/**
|
||
|
* Runs pbts programmatically.
|
||
|
* @param {string[]} args Command line arguments
|
||
|
* @param {function(?Error, string=)} [callback] Optional completion callback
|
||
|
* @returns {number|undefined} Exit code, if known
|
||
|
*/
|
||
|
export function main(args: string[], callback?: pbtsCallback): number|undefined;
|