#include <QCoreApplication>
#include "builtin_icon.hpp"
#include "ui/image/url.hpp"
#include "single-view-command-context.hpp"
#include "qml/snippet-form-view-host.hpp"

class CreateSnippetCommand : public BuiltinViewCommand<SnippetFormViewHost> {
  QString id() const override { return "create"; }
  QString name() const override {
    return QCoreApplication::translate("CreateSnippetCommand", "Create Snippet");
  }
  ImageURL iconUrl() const override {
    return ImageURL(BuiltinIcon::Snippets).setBackgroundTint(SemanticColor::Orange);
  }
};
