<commit_before>package me.invkrh.raft.deploy.system

import java.io.File
import java.nio.file.Files

import akka.actor.ActorRef
import me.invkrh.raft.deploy.RemoteProvider
import me.invkrh.raft.server.{Server, ServerConf}
import me.invkrh.raft.deploy._

object RemoteServer {

  val parser = new scopt.OptionParser[AdminConfig]("server-admin.sh") {
    help("help").text("Show usage")

    opt[File]('f', "config-file")
      .required()
      .valueName("<server.properties file>")
      .text("Server configuration file path")
      .action((x, c) => c.copy(configFile = x))

    note("\n")

    cmd("init")
      .action((_, c) => c.copy(action = "init"))
      .text("trigger leader election")

    note("\n")

    cmd("stop")
      .action((_, c) => c.copy(action = "stop"))
      .text("stop all raft server")
  }
<commit_msg>Remove unused cmd<commit_after>package me.invkrh.raft.deploy.system

import java.io.File
import java.nio.file.Files

import akka.actor.ActorRef
import me.invkrh.raft.deploy.RemoteProvider
import me.invkrh.raft.server.{Server, ServerConf}
import me.invkrh.raft.deploy._

object RemoteServer {

  val parser = new scopt.OptionParser[AdminConfig]("server-admin.sh") {
    help("help").text("Show usage")

    opt[File]('f', "config-file")
      .required()
      .valueName("<server.properties file>")
      .text("Server configuration file path")
      .action((x, c) => c.copy(configFile = x))
  }

{'fraction_non_alphanumeric': 0.16375087473757874, 'fraction_numerical': 0.0, 'mean_word_length': 3.5833333333333335, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4247701', 'n_tokens_mistral': 485, 'n_tokens_neox': 471, 'n_words': 93}