package dev.jfxde.sysapps.jshell.commands;

import dev.jfxde.sysapps.jshell.CommandProcessor;
import picocli.CommandLine.Command;

@Command(name = StopCommand.STOP_COMMAND)
public class StopCommand extends BaseCommand {

    public static final String STOP_COMMAND = "/stop";

    public StopCommand(CommandProcessor commandProcessor) {
        super(commandProcessor);
    }

    @Override
    public void run() {

        commandProcessor.getSession().stop();
    }
}
