perceval/backend.py
def _set_output_arguments(self):
        """Activate output arguments parsing"""

        group = self.parser.add_argument_group('output arguments')
        group.add_argument('-o', '--output', type=argparse.FileType('w'),
                           dest='outfile', default=sys.stdout,
                           help="output file")
        group.add_argument('--json-line', dest='json_line', action='store_true',
                           help="produce a JSON line for each output item")
def _set_output_arguments(self):
        group = self.parser.add_argument_group('output arguments')
        group.add_argument('-o', '--output', type=argparse.FileType('w'),
                           dest='outfile', default=sys.stdout,
                           help="output file")
        group.add_argument('--json-line', dest='json_line', action='store_true',
                           help="produce a JSON line for each output item")
def _set_output_arguments ( self ) : group = self . parser . add_argument_group ( 'output arguments' ) group . add_argument ( '-o' , '--output' , type = argparse . FileType ( 'w' ) , dest = 'outfile' , default = sys . stdout , help = "output file" ) group . add_argument ( '--json-line' , dest = 'json_line' , action = 'store_true' , help = "produce a JSON line for each output item" )
Activate output arguments parsing
Activate output arguments parsing