Closed HalfDeadPie closed 6 years ago
Mělo by to jít... co to hází za chybu?
Takhle mě napadá jedině, že chybí nastavit obj
v ctx
...
result = runner.invoke(cli, ['gain'], obj={})
Zabralo, ďakujem. Neuvedomil som si, ze to treba nastavovat, aj ked nechavam obj
prazdne
Chcel by som sa spytat, ci je mozne otestovat prikaz
yum gain
bez options, cize moj problem je, ze neviem zavolat podprikazgain
z group commanduyum
runner = CliRunner()
result = runner.invoke(cli, ['gain'])
nefungujeV oficialnej dokumentacii a ani v click core.py som odpoved nenasiel, dakujem.