asana_hub/actions/pull_request.py
def add_arguments(cls, parser):
        """Add arguments to the parser for collection in app.args.

        Args:
            parser:
                `argparse.ArgumentParser`. Parser.
                Arguments added here are server on
                self.args.
        """

        parser.add_argument(
            '-i', '--issue',
            action='store',
            nargs='?',
            const='',
            dest='issue',
            help="[pr] issue #",
            )

        parser.add_argument(
            '-br', '--branch',
            action='store',
            nargs='?',
            const='',
            dest='branch',
            help="[pr] branch",
            )

        parser.add_argument(
            '-tbr', '--target-branch',
            action='store',
            nargs='?',
            const='',
            default='master',
            dest='target_branch',
            help="[pr] name of branch to pull changes into\n(defaults to: master)",
            )
def add_arguments(cls, parser):
        """Add arguments to the parser for collection in app.args.

        Args:
            parser:
                `argparse.ArgumentParser`. Parser.
                Arguments added here are server on
                self.args.
        """

        parser.add_argument(
            '-i', '--issue',
            action='store',
            nargs='?',
            const='',
            dest='issue',
            help="[pr] issue #",
            )

        parser.add_argument(
            '-br', '--branch',
            action='store',
            nargs='?',
            const='',
            dest='branch',
            help="[pr] branch",
            )

        parser.add_argument(
            '-tbr', '--target-branch',
            action='store',
            nargs='?',
            const='',
            default='master',
            dest='target_branch',
            help="[pr] name of branch to pull changes into\n(defaults to: master)",
            )
def add_arguments ( cls , parser ) : parser . add_argument ( '-i' , '--issue' , action = 'store' , nargs = '?' , const = '' , dest = 'issue' , help = "[pr] issue #" , ) parser . add_argument ( '-br' , '--branch' , action = 'store' , nargs = '?' , const = '' , dest = 'branch' , help = "[pr] branch" , ) parser . add_argument ( '-tbr' , '--target-branch' , action = 'store' , nargs = '?' , const = '' , default = 'master' , dest = 'target_branch' , help = "[pr] name of branch to pull changes into\n(defaults to: master)" , )
Add arguments to the parser for collection in app.args.

        Args:
            parser:
                `argparse.ArgumentParser`. Parser.
                Arguments added here are server on
                self.args.
Add arguments to the parser for collection in app . args .