You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
560 B
25 lines
560 B
10 years ago
|
import os
|
||
|
import util
|
||
|
|
||
|
MODULE_NAME = __name__
|
||
|
MODULE_DESCRIPTION = '''Run analysis of what has already been captured:
|
||
|
Usage:
|
||
|
infer -- analyze
|
||
|
infer --out <capture_folder> -- analyze'''
|
||
|
|
||
|
|
||
|
def gen_instance(*args):
|
||
|
return NoCapture(*args)
|
||
|
|
||
|
# This creates an empty argparser for the module, which provides only
|
||
|
# description/usage information and no arguments.
|
||
|
create_argparser = util.base_argparser(MODULE_DESCRIPTION, MODULE_NAME)
|
||
|
|
||
|
|
||
|
class NoCapture:
|
||
|
def __init__(self, args, cmd):
|
||
|
self.args = args
|
||
|
|
||
|
def capture(self):
|
||
|
return os.EX_OK
|