@backtrace/javascript-cli
Version:
Backtrace CLI for working with Javascript files.
24 lines (23 loc) • 1.07 kB
TypeScript
import { SourceAndSourceMap } from '@backtrace/sourcemap-tools';
import { GlobalOptions } from '..';
import { Command, CommandContext } from '../commands/Command';
export interface RunOptions extends GlobalOptions {
readonly 'add-sources': boolean;
readonly upload: boolean;
readonly process: boolean;
readonly path: string | string[];
readonly include: string | string[];
readonly exclude: string | string[];
readonly 'dry-run': boolean;
readonly url: string;
readonly subdomain: string;
readonly token: string;
readonly 'include-sources': boolean;
readonly output: string;
readonly insecure: boolean;
readonly force: boolean;
readonly 'pass-with-no-files': boolean;
readonly 'asset-error-behavior': string;
}
export declare const runCmd: Command<RunOptions>;
export declare function runSourcemapCommands({ opts, logger, getHelpMessage }: CommandContext<RunOptions>): Promise<import("@backtrace/sourcemap-tools").ResultErr<string> | import("@backtrace/sourcemap-tools").ResultOk<SourceAndSourceMap[]>>;