MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / do_save

Method do_save

console/modules/queryCommand.py:71–78  ·  view source on GitHub ↗

Stores the queries performed in HTML or CSV formats

(self, arg)

Source from the content-addressed store, hash-verified

69 self._core.clean()
70
71 def do_save(self, arg):
72 """Stores the queries performed in HTML or CSV formats
73 """
74 format = arg.args if arg.args != '' else self._config.format
75 if format in Settings.valid_format_files:
76 self._core.export(format)
77 else:
78 AnsiPrint.print_error(f"[bold]{format}[reset] is not valid format")
79
80 def do_select(self, arg):
81 self._core.select(arg)

Callers

nothing calls this directly

Calls 2

exportMethod · 0.80
print_errorMethod · 0.45

Tested by

no test coverage detected