vadimdemedes / ronin

Toolkit for killer CLI applications
http://vdemedes.github.io/ronin
MIT License
299 stars 15 forks source link

Global options not working #12

Closed pulkitsinghal closed 9 years ago

pulkitsinghal commented 9 years ago
  options: {
    output: {
      type: 'string',
      aliases: ['o']
    }
  }

$ vend-tools fetch-product-by-sku --sku 100 -o blah
this.global.output: undefined
this.global.o: blah

$ vend-tools fetch-product-by-sku --sku 100 --output blah
this.global.output: blah
this.global.o: undefined
vadimdemedes commented 9 years ago

Thanks for reporting!

pulkitsinghal commented 9 years ago

Tested and I can confirm that it works.