43 struct SaveSettingsCommand final :
Command {
45 void execute(std::span<const TclObject> tokens,
TclObject& result)
override;
46 [[nodiscard]] std::string help(std::span<const TclObject> tokens)
const override;
47 void tabCompletion(std::vector<std::string>& tokens)
const override;
48 } saveSettingsCommand;
50 struct LoadSettingsCommand final : Command {
51 explicit LoadSettingsCommand(CommandController& commandController);
52 void execute(std::span<const TclObject> tokens, TclObject& result)
override;
53 [[nodiscard]] std::string help(std::span<const TclObject> tokens)
const override;
54 void tabCompletion(std::vector<std::string>& tokens)
const override;
55 } loadSettingsCommand;
57 SettingsManager settingsManager;
62 bool mustSaveSettings =
false;