alwaysai / alwayscli

A framework for building command-line interfaces in Node.js
Other
6 stars 2 forks source link

Support "escaped" input #17

Closed carnesen closed 5 years ago

carnesen commented 5 years ago

Previously this framework supported two flavors of input argument: those that appear before the first argument that starts with two dashes and everything after that. Now it supports a third type of input, "escaped" input receiving all arguments that appears after '--'. This will allow for commands of the form aai app start -- --foo --bar where ['--foo', '--bar'] gets passed directly into the escaped input of the start leaf.