MCPcopy Create free account
hub / github.com/saltstack/salt / run

Method run

salt/cli/spm.py:20–35  ·  view source on GitHub ↗

Run the api

(self)

Source from the content-addressed store, hash-verified

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)

Callers 15

salt_spmFunction · 0.95
__virtual__Function · 0.45
helpFunction · 0.45
callFunction · 0.45
testFunction · 0.45
_localectl_statusFunction · 0.45
exec_Function · 0.45
_check_valid_versionFunction · 0.45
_runFunction · 0.45
homebrew_prefixFunction · 0.45
_is_text_fileFunction · 0.45
is_enabledFunction · 0.45

Calls 3

runMethod · 0.95
verify_envFunction · 0.90
parse_argsMethod · 0.45

Tested by

no test coverage detected