aboutsummaryrefslogtreecommitdiff
path: root/src/content/operators/impls/EnableSetMarkOperator.ts
blob: 3d0daf43ffd47cc7f853c8deb752fbfb2fabcbe0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import Operator from "../Operator";
import MarkKeyRepository from "../../repositories/MarkKeyRepository";

export default class EnableSetMarkOperator implements Operator {
  constructor(private readonly repository: MarkKeyRepository) {}

  async run(): Promise<void> {
    this.repository.enableSetMode();
  }
}