53 lines
1.1 KiB
Python
53 lines
1.1 KiB
Python
from __future__ import annotations
|
|
|
|
from agent_installer.auth import (
|
|
connect_with_personal_key,
|
|
normalize_api_base_url,
|
|
)
|
|
from agent_installer.cli import build_parser, main
|
|
from agent_installer.common import (
|
|
DEFAULT_ENV_NAME,
|
|
ENV_NAME_PATTERN,
|
|
MIN_PYTHON,
|
|
REQUIRED_PROJECT_FILES,
|
|
SERVER_NAME,
|
|
Check,
|
|
InstallerError,
|
|
Runner,
|
|
Which,
|
|
)
|
|
from agent_installer.diagnostics import doctor_project
|
|
from agent_installer.flow import install_project
|
|
from agent_installer.project import (
|
|
inspect_project,
|
|
prepare_project,
|
|
render_client_config,
|
|
set_config_env,
|
|
)
|
|
|
|
__all__ = [
|
|
"Check",
|
|
"DEFAULT_ENV_NAME",
|
|
"ENV_NAME_PATTERN",
|
|
"InstallerError",
|
|
"MIN_PYTHON",
|
|
"REQUIRED_PROJECT_FILES",
|
|
"Runner",
|
|
"SERVER_NAME",
|
|
"Which",
|
|
"build_parser",
|
|
"connect_with_personal_key",
|
|
"doctor_project",
|
|
"inspect_project",
|
|
"install_project",
|
|
"main",
|
|
"normalize_api_base_url",
|
|
"prepare_project",
|
|
"render_client_config",
|
|
"set_config_env",
|
|
]
|
|
|
|
|
|
if __name__ == "__main__":
|
|
raise SystemExit(main())
|