ironhack-edu/ironlauncher

Order of project name and flags is too fixed. Add the ability to add name after flags

Closed this issue · 0 comments

Right now, the following command asks for the name

ironlauncher --fs name-of-project

Because the order really matters in this case. The result is:

inputs: [],
flags: {
  fs: 'name-of-project;

A solution is to to check through the values that are passed are not booleans (and not string representation of booleans) and if one of them is not, probably might be the name.

Need to tests it though