summaryrefslogtreecommitdiff
path: root/cli/__init__.py
blob: e7d137fd6e2419329d9c63457d85a520c826076a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import os

from .base import cli

from .build import build
from .serve import serve

__all__ = [cli, build, serve]

# ugly workaround to avoid build failures in Python 3.8
if "NETLIFY" not in os.environ:
    from .clean import clean
    from .ghpr import ghpr
    from .scan import scan

    __all__ += [clean, ghpr, scan]