asana_hub/action.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(
            '-as-api', '--asana-api',
            action='store',
            nargs='?',
            const='',
            dest='asana_api',
            help="[setting] asana api key.",
            )

        parser.add_argument(
            '-gh-api', '--github-api',
            action='store',
            nargs='?',
            const='',
            dest='github_api',
            help="[setting] github api token.",
            )

        parser.add_argument(
            '--first-issue',
            type=int,
            action='store',
            nargs='?',
            const='',
            help="[setting] only sync issues [FIRST_ISSUE] and above"
            )
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(
            '-as-api', '--asana-api',
            action='store',
            nargs='?',
            const='',
            dest='asana_api',
            help="[setting] asana api key.",
            )

        parser.add_argument(
            '-gh-api', '--github-api',
            action='store',
            nargs='?',
            const='',
            dest='github_api',
            help="[setting] github api token.",
            )

        parser.add_argument(
            '--first-issue',
            type=int,
            action='store',
            nargs='?',
            const='',
            help="[setting] only sync issues [FIRST_ISSUE] and above"
            )
def add_arguments ( cls , parser ) : parser . add_argument ( '-as-api' , '--asana-api' , action = 'store' , nargs = '?' , const = '' , dest = 'asana_api' , help = "[setting] asana api key." , ) parser . add_argument ( '-gh-api' , '--github-api' , action = 'store' , nargs = '?' , const = '' , dest = 'github_api' , help = "[setting] github api token." , ) parser . add_argument ( '--first-issue' , type = int , action = 'store' , nargs = '?' , const = '' , help = "[setting] only sync issues [FIRST_ISSUE] and above" )
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 .