web-ext
Version:
A command line tool to help build, run, and test web extensions
17 lines (16 loc) • 509 B
JavaScript
import open from 'open';
import { createLogger } from '../util/logger.js';
const log = createLogger(import.meta.url);
// eslint-disable-next-line max-len
export const url = 'https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/';
export default async function docs(params, {
openUrl = open
} = {}) {
try {
await openUrl(url);
} catch (error) {
log.debug(`Encountered an error while opening URL ${url}`, error);
throw error;
}
}
//# sourceMappingURL=docs.js.map