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:
@@ -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}}',
|
||||
|
||||
Reference in New Issue
Block a user