Skip to content

add this line in vorpal/lib/session.js #7

@ORESoftware

Description

@ORESoftware
  wrapper.args.command = wrapper.command;

add that line above this section:

 wrapper.args.command = wrapper.command;

  // Call the root command.
  res = wrapper.fn.call(commandInstance, wrapper.args, function () {
    debugger;
    var argus = util.fixArgsForApply(arguments);
    onCompletion(wrapper, argus[0], argus[1], argus);
  });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions