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.10.0.tar.gz
(124.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.10.0.tar.gz.
File metadata
- Download URL: cli_onprem-0.10.0.tar.gz
- Upload date:
- Size: 124.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 |
c05cd13fb722947fe24212c7c798560c78cb3a0b49ce270b9af20d84842ab611
|
|
| MD5 |
2846ff585e4cbcc5f0d825b2038ad3b7
|
|
| BLAKE2b-256 |
6599a30ecbc59112de09916233fd4570ceeca045c76ddb460819c3519673a5ef
|
File details
Details for the file cli_onprem-0.10.0-py3-none-any.whl.
File metadata
- Download URL: cli_onprem-0.10.0-py3-none-any.whl
- Upload date:
- Size: 23.6 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 |
a44a56bd51c81eaadb5425f55935c642ce44115bce23d226d05dcc110cbb9a50
|
|
| MD5 |
9fa67cce164dc86146b8d685d913ee11
|
|
| BLAKE2b-256 |
406b95518af8ed86f0cf2dd3dbacfcea147e65544b741bc9f35cf5dc776c4281
|