diff --git a/Plugins/Flow.Launcher.Plugin.Sys/Command.cs b/Plugins/Flow.Launcher.Plugin.Sys/Command.cs new file mode 100644 index 00000000000..6c3a99f3e20 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.Sys/Command.cs @@ -0,0 +1,44 @@ +using System.Text.Json.Serialization; + +namespace Flow.Launcher.Plugin.Sys +{ + public class Command : BaseModel + { + public string Key { get; set; } + + private string name; + [JsonIgnore] + public string Name + { + get => name; + set + { + name = value; + OnPropertyChanged(); + } + } + + private string description; + [JsonIgnore] + public string Description + { + get => description; + set + { + description = value; + OnPropertyChanged(); + } + } + + private string keyword; + public string Keyword + { + get => keyword; + set + { + keyword = value; + OnPropertyChanged(); + } + } + } +} diff --git a/Plugins/Flow.Launcher.Plugin.Sys/CommandKeywordSetting.xaml b/Plugins/Flow.Launcher.Plugin.Sys/CommandKeywordSetting.xaml new file mode 100644 index 00000000000..a848f2f1f52 --- /dev/null +++ b/Plugins/Flow.Launcher.Plugin.Sys/CommandKeywordSetting.xaml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +