CLI tool for infrastructure engineers
Project description
CLI-ONPREM
인프라 엔지니어를 위한 반복 작업 자동화를 위한 Typer 기반 Python CLI 도구입니다.
기능
- 간단하고 직관적인 명령줄 인터페이스
- 색상과 서식이 있는 풍부한 텍스트 출력
- 디렉토리 스캔 및 보고
- 포괄적인 문서화
설치
# PyPI에서 설치
pipx install cli-onprem
# 또는 소스에서 설치
git clone https://github.com/cagojeiger/cli-onprem.git
cd cli-onprem
pipx install -e . --force
소스에서 설치할 때 일반 사용자는 위 명령어만 실행하면 됩니다.
사용법
# 도움말 보기
cli-onprem --help
# 쉘 자동완성 활성화
cli-onprem --install-completion
# 특정 쉘에 대해 자동완성 활성화
cli-onprem --install-completion bash # 또는 zsh, fish
개발
이 프로젝트는 다음을 사용합니다:
- 패키지 관리를 위한
uv - 코드 품질을 위한
pre-commit훅 - 린팅 및 포맷팅을 위한
ruff,black,mypy - CI/CD를 위한 GitHub Actions
개발 환경 설정
개발에 필요한 의존성은 다음과 같이 설치합니다:
# 저장소 복제
git clone https://github.com/cagojeiger/cli-onprem.git
cd cli-onprem
# 의존성 설치
uv sync --locked --all-extras --dev
# pre-commit 훅 설치
pre-commit install
테스트 실행
pytest
문서
각 명령어에 대한 자세한 문서는 docs/ 디렉토리에서 확인할 수 있습니다:
라이선스
MIT 라이선스
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cli_onprem-0.6.1.tar.gz
(123.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cli_onprem-0.6.1.tar.gz.
File metadata
- Download URL: cli_onprem-0.6.1.tar.gz
- Upload date:
- Size: 123.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbd8b22b0d3b2737891c5ea51dfa592c58ba3262eceb54fcf011da8593b1b02f
|
|
| MD5 |
de8ba29a4161639985253bfe10642a93
|
|
| BLAKE2b-256 |
9c4cae2d7906366fd0fa4d8aa9594f1194e85a89a1eb1f9a6903219bd4a157b1
|
File details
Details for the file cli_onprem-0.6.1-py3-none-any.whl.
File metadata
- Download URL: cli_onprem-0.6.1-py3-none-any.whl
- Upload date:
- Size: 23.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9caa6bc6b6c22991cd551572cf7194faf8903a3863d03cf94e1466f4eef2d8db
|
|
| MD5 |
1c934b2b6b2bea0d0912a0f511982171
|
|
| BLAKE2b-256 |
6c561f07d539b8f7def4a48a567d483e554f30f909130da7d73da9f57fac0d19
|