def arg(*args, **kwargs):
 kwargs = dict(((k, v) for (k, v) in six.iteritems(kwargs) if (not k.startswith('__'))))
 ret = {'args': args, 'kwargs': kwargs}
 return ret

def arg ( * args , ** kwargs ) : kwargs = dict ( ( ( k , v ) for ( k , v ) in six . iteritems ( kwargs ) if ( not k . startswith ( '__' ) ) ) ) ret = { 'args' : args , 'kwargs' : kwargs } return ret
decorator for cli args .