Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """
- click_wrapper = click.command()
- def wrapper(fn):
- logging.basicConfig(level=logging.DEBUG, format='%(asctime)s \t %(name)s \t %(levelname)s \t %(message)s')
- return click.option('--host', type=str, default=20, help='Host name of ActiveMQ')(
- click.option('--port', type=int, default=20, help='Port ActiveMQ')(
- click.option('--queue', type=str, default=queue, help='Queue to listen to')(
- click.option('--xipurl', type=str, default=20, help='URL to XIP endpoint')(
- click.option('--wait', type=int, default=20, help='Time to wait before processing next')(
- click.option('--config', default=None, help='Specify the configuration file defining options')(click_wrapper(fn)))))))
- return wrapper
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement