from kamaki.cli.command_tree import CommandTree
config_cmds = CommandTree('config', 'Configuration commands')
-_command = [config_cmds]
+_commands = [config_cmds]
@command(config_cmds)
section = section or 'global'
self.config.set(section, key, value)
self.config.write()
+ self.config.reload()
@command(config_cmds)
section = section or 'global'
self.config.remove_option(section, key)
self.config.write()
+ self.config.reload()