Invoking a python click CLI application without using subprocess or CliRunner

前端 未结 0 1524
余生分开走
余生分开走 2021-02-12 13:59

Currently I\'m doing this:

from click.testing import CliRunner
runner = CliRunner() 
runner.invoke(main, [\'-m\', \'com.foo.bar\', \'-r\', \'/home/fatcat/\', \'-o         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题