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.0.tar.gz
(123.1 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.0.tar.gz.
File metadata
- Download URL: cli_onprem-0.6.0.tar.gz
- Upload date:
- Size: 123.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
050569a2e1567209181f65dee95939736329b6acfdbc3828a00812b172a89818
|
|
| MD5 |
486f28f4dd0a2512582b0d2a99a13d68
|
|
| BLAKE2b-256 |
4fcee9f8d3fff377b36ecf293063ee32cc629f82292f27dfede1a0c5b57c24a2
|
File details
Details for the file cli_onprem-0.6.0-py3-none-any.whl.
File metadata
- Download URL: cli_onprem-0.6.0-py3-none-any.whl
- Upload date:
- Size: 23.5 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 |
74edcb25b73a8bfedf12b8f9a2604c8231051f35f9ffaebfe2b1e1901f87eecb
|
|
| MD5 |
7688e6c16bf2b07fab84931d592f554b
|
|
| BLAKE2b-256 |
6421e641e9d7109513531f98c14ab062f7fb8ee92f7d9984177f901871e81c2c
|