1 import argparse
2 from concurrent_tree_crawler.html_multipage_navigator.sample_page_analyzer import LevelsCreator
3
6 """
7 Fill the given parser object with command-line arguments needed to
8 initialize levels creator returned in L{create} method.
9
10 @type parser: L{argparse.ArgumentParser}
11 """
12 pass
13
15 """
16 Create L{AbstractLevelsCreator} based on command line arguments.
17
18 @param args: result of calling the C{parser.parse_args()} function.
19 Contains result of parsing the arguments defined in L{fill_parser}
20 method.
21 @type args: L{argparse.Namespace}
22 @rtype: L{AbstractLevelsCreator}
23 """
24 raise NotImplementedError()
25
27 """
28 This method is called before the program exit.
29 This is the place to execute some cleanup actions.
30 """
31 pass
32