jupyter_cache/cli/commands/cmd_main.py
raw| 1 | """The main `jcache` click group.""" |
| 2 | import click |
| 3 | |
| 4 | from jupyter_cache.cli import options |
| 5 | |
| 6 | |
| 7 | @click.group(context_settings={"help_option_names": ["-h", "--help"]}) |
| 8 | @click.version_option( |
| 9 | None, "-v", "--version", message="jupyter-cache version %(version)s" |
| 10 | ) |
| 11 | @options.PRINT_CACHE_PATH |
| 12 | @options.AUTOCOMPLETE |
| 13 | def jcache(*args, **kwargs): |
| 14 | """The command line interface of jupyter-cache.""" |