diff --git a/src/markov.py b/src/markov.py index 3f32c85..c8c2405 100644 --- a/src/markov.py +++ b/src/markov.py @@ -1,5 +1,22 @@ +import rulesparser +import rulebook +import argparse + def main(): - raise NotImplementedError("Sorry, this project is WIP and didn't implement user functionality yet") + parser = argparse.ArgumentParser( + prog = "Markov", + description = "Simple tool to apply Markov's normal algorithms" + ) + parser.add_argument("rulebook", type=str, help="File with the rules for algorithm") + parser.add_argument("-c", "--command-line-input", type=str, nargs='?', + help="Takes input from user via command line " + "arguments. There should be only one string. " + "Please, use quotation marks") + parser.add_argument("-v", "--verbose", action="store_true", + help="If set, verbose output will be produced. " + "It'll contain all intermediate transformations, " + "reason of stop etc.") + parser.parse_args() if __name__ == "__main__": main()