悪いこと言わないからstd.getopt使うことをお勧めするよ。
class CommandLineException: etc.negui.input.inputif.InputException;
class CommandLine;
コマンドライン引数。
const Text executePath;
const Text[] args;
Text option;
Text pairSplit;
this(in wchar* CommandLineSrc
, bool ExecutePath
);
- Params:
-
- wchar* CommandLineSrc
- C形式のコマンドライン文字列。
- bool ExecutePath
- CommandLineSrcの先頭を実行パスとして扱うか。
static Text[][Text] pairs(in Text[] Args
, in Text Option
, in Text PairSplit
);
const Text[][Text] pairs();
static Text[] singles(in Text[] Args
, in Text Option
);
const Text[] singles();
const Text[] options();