{"id":26705388,"url":"https://github.com/tangledpath/auto-cli-py","last_synced_at":"2025-03-27T05:34:08.368Z","repository":{"id":57412689,"uuid":"212160090","full_name":"tangledpath/auto-cli-py","owner":"tangledpath","description":"CLI automatically created from function via introspection","archived":false,"fork":false,"pushed_at":"2024-03-04T00:10:27.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T12:03:53.015Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tangledpath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-01T17:40:36.000Z","updated_at":"2024-03-04T00:10:30.000Z","dependencies_parsed_at":"2022-08-24T19:20:46.371Z","dependency_job_id":null,"html_url":"https://github.com/tangledpath/auto-cli-py","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangledpath%2Fauto-cli-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangledpath%2Fauto-cli-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangledpath%2Fauto-cli-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangledpath%2Fauto-cli-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangledpath","download_url":"https://codeload.github.com/tangledpath/auto-cli-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245671608,"owners_count":20653580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-27T05:34:07.726Z","updated_at":"2025-03-27T05:34:08.353Z","avatar_url":"https://github.com/tangledpath.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# auto-cli-py\nPython Library that builds a complete CLI given one or more functions.\n\nMost options are set using introspection/signature and annotation functionality, so very little configuration has to be done.\n\n## Setup\n@@DEPRECATED; USE https://github.com/tiangolo/typer-cli instead.\n\n### TL;DR Install for usage\n```bash\n# Install from github\npip install auto-cli-py\n\n# See example code and output\npython examples.py\n\n```\n\n### In python code\n## Development\n* Standard python packaging - Follows methodologies from: https://python-packaging.readthedocs.io/en/latest/minimal\n.html\n* Uses pytest\n\n### Pytest\nhttps://docs.pytest.org/en/latest/\n\n### Python (Anaconda) environment\n*(assumes anaconda is properly installed)*\n```bash\n# First time. Create conda environment from environment.yml and activate it:\nconda env create -f environment.yml -n auto-cli-py\nconda activate auto-cli-py\n```\n\n```bash\n# If environment changes:\nconda activate auto-cli-py\nconda env update -f=environment.yml\n# -- OR remove and restart --\nconda remove --name auto-cli-py --all\nconda env create -f environment.yml\n```\n\n### Activate environment\n```bash\nconda activate auto-cli-py\n\n# This symlinks the installed auto_cli package to the source:\npip install -e .\n```\n\n### Preparation\n```bash\nconda activate auto-cli-py\n```\n\n### Linting and Testing\n*pytest behavior and output is controlled through `auto_cli/tests/pytest.ini`*\n\n```bash\n# Lint all code:\npylint auto_cli\n\n# Run all tests\npytest\n\n# See more options for pytest:\npytest --help\n\n# This is handy:\npytest --fixtures-per-test\n\n```\n\n### Installation (other)\n\n```bash\n# AND/OR Install from a specific github branch\npip uninstall auto-cli-py\npip install git+https://github.com/tangledpath/auto-cli-py.git@features/blah\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangledpath%2Fauto-cli-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangledpath%2Fauto-cli-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangledpath%2Fauto-cli-py/lists"}