package command import "context" // Command is a reversible unit of work for future offline sync / undo trees. type Command interface { Execute(ctx context.Context) error Undo(ctx context.Context) error Name() string }