()
| 2 | |
| 3 | |
| 4 | def cli(): |
| 5 | try: |
| 6 | from plotly_cloud.cli import main # pylint: disable=import-outside-toplevel |
| 7 | |
| 8 | main() |
| 9 | except ImportError: |
| 10 | print( |
| 11 | "Plotly cloud is not installed," |
| 12 | " install it with `pip install dash[cloud]` to use the plotly command", |
| 13 | file=sys.stderr, |
| 14 | ) |
| 15 | sys.exit(-1) |