diff options
Diffstat (limited to 'examples/termui')
-rw-r--r-- | examples/termui/termui.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/termui/termui.py b/examples/termui/termui.py index 5c053c4..916522f 100644 --- a/examples/termui/termui.py +++ b/examples/termui/termui.py @@ -71,3 +71,9 @@ def progress(count): empty_char=' ') as bar: for item in bar: process_slowly(item) + + +@cli.command() +def clear(): + """Clears the entire screen.""" + click.clear() |