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

Method do_load

console/modules/configCommand.py:52–57  ·  view source on GitHub ↗
(self, args:cmd2.Statement)

Source from the content-addressed store, hash-verified

50
51 @with_argparser(parser)
52 def do_load(self, args:cmd2.Statement):
53 try:
54 Settings.load_settings(args.filename)
55 AnsiPrint.print_locale("config.loaded", filename=args.filename)
56 except MapXploreException as e:
57 AnsiPrint.print_error(e)
58
59
60

Callers

nothing calls this directly

Calls 3

load_settingsMethod · 0.80
print_localeMethod · 0.80
print_errorMethod · 0.45

Tested by

no test coverage detected