-
Freezed authored
Define options Options not passed as argument are prompted; - if required - and default value not set TODO: Response not correctly formated for status and error Status: N/A Error: N/A
Freezed authoredDefine options Options not passed as argument are prompted; - if required - and default value not set TODO: Response not correctly formated for status and error Status: N/A Error: N/A
main.py 588 B
#!/usr/bin/env python3
# coding:utf-8
"""
run.py: CLI launcher, just run it
Add `geostrapy` commands to `strava-cli`
"""
import click
from strava.commands import (
login,
logout,
set_config,
)
from commands import post_create
@click.group()
def cli():
"""
Share data related to physical activities over an API (geo-localized or not)
Add commands for `strava-cli` https://github.com/bwilczynski/strava-cli
"""
cli.add_command(login)
cli.add_command(logout)
cli.add_command(post_create)
cli.add_command(set_config)
if __name__ == "__main__":
cli()