nagaram/cmdline.py
def main(arguments=None):
    """Main command line entry point."""

    if not arguments:
        arguments = sys.argv[1:]

    wordlist, sowpods, by_length, start, end = argument_parser(arguments)
    for word in wordlist:
        pretty_print(
            word,
            anagrams_in_word(word, sowpods, start, end),
            by_length,
        )
def main(arguments=None):
    if not arguments:
        arguments = sys.argv[1:]

    wordlist, sowpods, by_length, start, end = argument_parser(arguments)
    for word in wordlist:
        pretty_print(
            word,
            anagrams_in_word(word, sowpods, start, end),
            by_length,
        )
def main ( arguments = None ) : if not arguments : arguments = sys . argv [ 1 : ] wordlist , sowpods , by_length , start , end = argument_parser ( arguments ) for word in wordlist : pretty_print ( word , anagrams_in_word ( word , sowpods , start , end ) , by_length , )
Main command line entry point.
Main command line entry point .