aragon / aragon-cli

CLI for creating and publishing Aragon apps
GNU General Public License v3.0
91 stars 79 forks source link

`dao exec`, `dao act`: fix support for string types in function arguments #369

Open izqui opened 5 years ago

izqui commented 5 years ago

Currently state:

kernelwhisperer commented 5 years ago

Related to #320

kernelwhisperer commented 5 years ago
  • string: even if using quotes, it will just use the first word and interpret everything after a space as a new argument.

Can't figure this out either... but after checking this example:

#!/usr/bin/env node

var opts = require('yargs')
    .argv;

console.log(opts);

And seeing that either of these work:

'hello world'
"hello world"
hello\ world

I'm thinking it's something in our configuration/middle-wares :thinking:

bool and array should work once https://github.com/aragon/aragon-cli/pull/555 is merged

0xGabi commented 4 years ago

Related to #1008