redhat-openstack / infrared

Plugin based framework that aims to provide an easy-to-use CLI for Ansible based projects
https://infrared.readthedocs.io/en/latest/index.html
Apache License 2.0
100 stars 96 forks source link

[BUG] - ir workspace node-list has workspace related flags #311

Closed talkammer closed 6 years ago

talkammer commented 6 years ago

ir workspace node-list is implemented as subparser thus allowing the user to do something like: ` ir workspace node-list --help usage: ir workspace node-list [-h] [-n NAME] [-g GROUP]

optional arguments: -h, --help show this help message and exit -n NAME, --name NAME Workspace name -g GROUP, --group GROUP `

Which prints confusing (non working) flags

aopincar commented 6 years ago

Hi Tal,

A ticket (#1625) has been opened for this one.

Thanks, Ariel

aopincar commented 6 years ago

A patch patch has been submitted. Currently, the patch fixes only the functionality of the 'group' flag for the 'workspace node-list' command. Fixes for other flags require changes in API, and will have to wait for a newer major version of InfraRed.

obaranov commented 6 years ago

I tested that on master and --group now works well now. I'm closing that issue now. @talkammer please reopen or create another issues if problem is still present. thanks!