@staticmethod
def setup_subparser(parser, cmd=None):
    """
        Set up a subparser for a specific command
        """
    parser.add_argument('packages', help='List of packages to fetch',
        action='append', default=[], nargs='*')
    parser.add_argument('-a', '--all', help=
        'Fetch all packages. Warning: May take a while, and consume some considerable disk space'
        , action='store_true')
    parser.add_argument('--deps', help=
        'Also fetch dependencies of packages', action='store_true')
