zapier-platform-cli
Version:
The CLI for apps in the Zapier Developer Platform.
19 lines (16 loc) • 434 B
JavaScript
;
var createContext = function createContext() {
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
command = _ref.command,
args = _ref.args,
argOpts = _ref.argOpts;
return {
command: command, args: args, argOpts: argOpts,
line: function line(_line) {
return console.log(_line || '');
}
};
};
module.exports = {
createContext: createContext
};