frontend/.pnpm-store/v3/files/0b/94e807cdc198024f08be78768e7dcb7720058d6dd62275cb41e304d1e0d850ae0a567613629ce7dff636160f9ddbac116c3266afceadd0f9fe29589f9ec439

17 lines
479 B
Plaintext

// Various utilties exposed to plugins
require('./shell'); // Create the ShellJS instance (mandatory)
var common = require('./src/common');
var exportedAttributes = [
'error', // For signaling errors from within commands
'parseOptions', // For custom option parsing
'readFromPipe', // For commands with the .canReceivePipe attribute
'register', // For registering plugins
];
exportedAttributes.forEach(function (attr) {
exports[attr] = common[attr];
});