1 module clid; 2 3 public import clid.attributes; 4 import clid.help; 5 import clid.parse; 6 7 C parseArguments(C)(string[] args) 8 { 9 auto config = parse!C(args); 10 validateConfig(config); 11 return config; 12 } 13 14 C parseArguments(C)() 15 { 16 import core.runtime : Runtime; 17 18 return parseArguments!C(Runtime.args()[1 .. $]); 19 }