Run the api
(self)
| 18 | """ |
| 19 | |
| 20 | def run(self): |
| 21 | """ |
| 22 | Run the api |
| 23 | """ |
| 24 | ui = salt.spm.SPMCmdlineInterface() |
| 25 | self.parse_args() |
| 26 | v_dirs = [ |
| 27 | self.config["spm_cache_dir"], |
| 28 | ] |
| 29 | verify_env( |
| 30 | v_dirs, |
| 31 | self.config["user"], |
| 32 | root_dir=self.config["root_dir"], |
| 33 | ) |
| 34 | client = salt.spm.SPMClient(ui, self.config) |
| 35 | client.run(self.args) |
no test coverage detected