module getopt¶
Source: stdlib/getopt.codon
getopt¶Source: stdlib/getopt.codon
GetoptError¶__init__(self, message: str = "")¶long_has_args(opt: str, longopts: List[str])¶do_longs(opts: List[Tuple[str, str]], opt: str, longopts: List[str], args: List[str])¶short_has_arg(opt: str, shortopts: str)¶do_shorts(opts: List[Tuple[str, str]], optstring: str, shortopts: str, args: List[str])¶getopt(args: List[str], shortopts: str, longopts: List[str] = [])¶