MCPcopy
hub / github.com/awslabs/aws-shell / save_config

Method save_config

awsshell/app.py:272–280  ·  view source on GitHub ↗

Save the config to the config file.

(self)

Source from the content-addressed store, hash-verified

270 self.theme = self.config_section['theme']
271
272 def save_config(self):
273 """Save the config to the config file."""
274 self.config_section['match_fuzzy'] = self.model_completer.match_fuzzy
275 self.config_section['enable_vi_bindings'] = self.enable_vi_bindings
276 self.config_section['show_completion_columns'] = \
277 self.show_completion_columns
278 self.config_section['show_help'] = self.show_help
279 self.config_section['theme'] = self.theme
280 self.config_obj.write()
281
282 @property
283 def cli(self):

Callers 3

runMethod · 0.95
test_config_offMethod · 0.80
test_config_onMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_config_offMethod · 0.64
test_config_onMethod · 0.64