removes the old CLI stuff that was replaced with json config
This commit is contained in:
parent
0a7f027390
commit
a51e2f1907
1 changed files with 0 additions and 29 deletions
29
CLI/Cli.cs
29
CLI/Cli.cs
|
|
@ -46,35 +46,6 @@ namespace BetterSecondBot
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
class Options : API_supported_interface
|
|
||||||
{
|
|
||||||
[Option('j', "json", Required = false, HelpText = "see api")]
|
|
||||||
public string Json { get; set; }
|
|
||||||
|
|
||||||
public override int ApiCommandsCount { get { return 1; } }
|
|
||||||
|
|
||||||
public override string[] GetCommandsList()
|
|
||||||
{
|
|
||||||
return new string[] { "j"};
|
|
||||||
}
|
|
||||||
public override string[] GetCommandArgTypes(string cmd)
|
|
||||||
{
|
|
||||||
return new string[] { "Text" };
|
|
||||||
}
|
|
||||||
public override string[] GetCommandArgHints(string cmd)
|
|
||||||
{
|
|
||||||
return new string[] { "\"Bot4.json\"" };
|
|
||||||
}
|
|
||||||
|
|
||||||
public override string GetCommandHelp(string cmd)
|
|
||||||
{
|
|
||||||
return "json config file [Defaults to: mybot.json] <br/>Example: \"BetterSecondBot.exe -j=otherbot.json\"";
|
|
||||||
}
|
|
||||||
public override int GetCommandArgs(string cmd)
|
|
||||||
{
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue