mirror of
https://github.com/sstent/FitTrack_GarminSync.git
synced 2026-01-25 16:41:41 +00:00
Implement CLI app for API interaction with MFA
- Create full CLI application with authentication, sync triggering, and status checking - Implement MFA support for secure authentication - Add token management with secure local storage - Create API client for backend communication - Implement data models for User Session, Sync Job, and Authentication Token - Add command-line interface with auth and sync commands - Include unit and integration tests - Follow project constitution standards for Python 3.13, type hints, and code quality - Support multiple output formats (table, JSON, CSV)
This commit is contained in:
30
cli/setup.py
Normal file
30
cli/setup.py
Normal file
@@ -0,0 +1,30 @@
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
with open("requirements.txt") as f:
|
||||
requirements = f.read().splitlines()
|
||||
|
||||
setup(
|
||||
name="garmin-sync-cli",
|
||||
version="0.1.0",
|
||||
packages=find_packages(where="cli/src"),
|
||||
package_dir={"": "cli/src"},
|
||||
install_requires=requirements,
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"garmin-sync=src.main:cli",
|
||||
],
|
||||
},
|
||||
author="FitTrack Team",
|
||||
author_email="team@fittrack.com",
|
||||
description="Command-line interface for interacting with GarminSync API",
|
||||
long_description=open("README.md").read() if open("README.md").read() else "",
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/FitTrack/GarminSync",
|
||||
classifiers=[
|
||||
"Development Status :: 3 - Alpha",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
],
|
||||
python_requires=">=3.13",
|
||||
)
|
||||
Reference in New Issue
Block a user