diff --git a/platformio/commands/home/rpc/handlers/project.py b/platformio/commands/home/rpc/handlers/project.py index e21331d8..dcb42ed7 100644 --- a/platformio/commands/home/rpc/handlers/project.py +++ b/platformio/commands/home/rpc/handlers/project.py @@ -55,6 +55,14 @@ class ProjectRPC(object): config.update(data, clear=True) return config.save() + @staticmethod + def config_update_description(path, text): + config = ProjectConfig(path, parse_extra=False, expand_interpolations=False) + if not config.has_section("platformio"): + config.add_section("platformio") + config.set("platformio", "description", text) + return config.save() + @staticmethod def get_config_schema(): return get_config_options_schema()