Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# (c) Stefan Countryman, 2019 

2 

3""" 

4Scripts that continuously poll external resources for updates. Used in cases 

5when trigger listeners (see: ``llama.listen``), a more elegant approach to 

6querying for updates, are not available. 

7""" 

8 

9from llama.cli import RecursiveCli 

10 

11cli = RecursiveCli.from_module('llama.poll', description=__doc__) 

12main = cli.main # pylint: disable=invalid-name 

13get_parser = cli.get_parser 

14 

15 

16if __name__ == '__main__': 

17 main()