Coverage for /opt/anaconda/lib/python3.7/site-packages/llama/poll/__main__.py : 86%

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
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"""
9from llama.cli import RecursiveCli
11cli = RecursiveCli.from_module('llama.poll', description=__doc__)
12main = cli.main # pylint: disable=invalid-name
13get_parser = cli.get_parser
16if __name__ == '__main__':
17 main()