@click.option('--userconfig','-u',is_flag=True,help="Use user config even if on server")
defmain(userconfig):
"""BBBMON is a small CLI utility to monitor bbb usage
"""BBBMON is a small CLI utility to monitor bbb usage
\b
\b
...
@@ -53,6 +54,7 @@ def main():
...
@@ -53,6 +54,7 @@ def main():
@main.command(context_settings=CONTEXT_SETTINGS)
@main.command(context_settings=CONTEXT_SETTINGS)
@click.pass_context
@click.pass_context
@click.option('--userconfig','-u',is_flag=True,help="Use user config even if on server")
@click.option('--endpoint','-e',multiple=True,help="Filter by one or more endpoints as named in the user configuration (e.g. [servername]). Order is respected.")
@click.option('--endpoint','-e',multiple=True,help="Filter by one or more endpoints as named in the user configuration (e.g. [servername]). Order is respected.")
@click.option('--watch','-w',help="Run repeatedly with the given interval in seconds",type=click.IntRange(2,2147483647,clamp=True))
@click.option('--watch','-w',help="Run repeatedly with the given interval in seconds",type=click.IntRange(2,2147483647,clamp=True))
@click.option('--leaderboards/--no-leaderboards',default=True,show_default=True,help="Hide or show the meeting leaderboards")
@click.option('--leaderboards/--no-leaderboards',default=True,show_default=True,help="Hide or show the meeting leaderboards")
...
@@ -64,7 +66,7 @@ def main():
...
@@ -64,7 +66,7 @@ def main():
@click.option('--twolines','-2',is_flag=True,help="Print essentials on two lines")
@click.option('--twolines','-2',is_flag=True,help="Print essentials on two lines")