mirror of
https://github.com/HKUDS/CLI-Anything.git
synced 2026-06-09 15:55:22 +08:00
New CLI harness for Teltonika RMS (Remote Management System) API. - 18 command groups: devices, companies, users, tags, alerts, configs, remote-access, logs, location, credits, files, reports, hotspots, passwords, smtp, auth, config, session - PAT auth with 3-tier fallback (CLI flag / env var / config file) - 88 unit tests (76 core + 8 CliRunner + 4 regression), 9 E2E tests - Interactive REPL with ReplSkin - --password-stdin for safer credential handling (passwords, smtp) - Timezone-aware UTC timestamps in session history Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
50 lines
1.5 KiB
Python
50 lines
1.5 KiB
Python
#!/usr/bin/env python3
|
|
"""setup.py for cli-anything-rms"""
|
|
|
|
from setuptools import setup, find_namespace_packages
|
|
|
|
with open("cli_anything/rms/README.md", "r", encoding="utf-8") as fh:
|
|
long_description = fh.read()
|
|
|
|
setup(
|
|
name="cli-anything-rms",
|
|
version="1.0.0",
|
|
author="cli-anything contributors",
|
|
author_email="",
|
|
description="CLI harness for Teltonika RMS — device management, monitoring, and more. Requires: RMS_API_TOKEN",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/HKUDS/CLI-Anything",
|
|
packages=find_namespace_packages(include=["cli_anything.*"]),
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
],
|
|
python_requires=">=3.10",
|
|
install_requires=[
|
|
"click>=8.0.0",
|
|
"requests>=2.28.0",
|
|
"prompt-toolkit>=3.0.0",
|
|
],
|
|
extras_require={
|
|
"dev": [
|
|
"pytest>=7.0.0",
|
|
"pytest-cov>=4.0.0",
|
|
],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"cli-anything-rms=cli_anything.rms.rms_cli:main",
|
|
],
|
|
},
|
|
package_data={
|
|
"cli_anything.rms": ["skills/*.md"],
|
|
},
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
)
|