feat(commands): remove minimist command parser for basic parsing

Tokenizes command string based on spaces, concats remaining arguments

This allows filesystem commands to handle directories/files with spaces.

fix-compatability-bugs
This commit is contained in:
Tyler Stewart
2017-05-05 16:17:59 -06:00
parent cf3d543f1a
commit ec010697bb
25 changed files with 43 additions and 43 deletions

View File

@@ -3,7 +3,7 @@ const cwd = require('./cwd').handler;
module.exports = {
directive: ['CDUP', 'XCUP'],
handler: function (args) {
args.command._ = [args.command._[0], '..'];
args.command.arg = '..';
return cwd.call(this, args);
},
syntax: '{{cmd}}',