{"id":19357873,"url":"https://github.com/swiftsoftwaregroup/cli-py","last_synced_at":"2026-02-12T10:02:02.039Z","repository":{"id":250060205,"uuid":"833314449","full_name":"swiftsoftwaregroup/cli-py","owner":"swiftsoftwaregroup","description":"Template for Command Line Interface (CLI) tool in Python","archived":false,"fork":false,"pushed_at":"2024-07-24T22:02:20.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-16T12:59:15.139Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swiftsoftwaregroup.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-24T19:35:15.000Z","updated_at":"2024-07-24T22:02:23.000Z","dependencies_parsed_at":"2024-07-25T00:26:36.855Z","dependency_job_id":null,"html_url":"https://github.com/swiftsoftwaregroup/cli-py","commit_stats":null,"previous_names":["swiftsoftwaregroup/cli-py"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/swiftsoftwaregroup/cli-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftsoftwaregroup%2Fcli-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftsoftwaregroup%2Fcli-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftsoftwaregroup%2Fcli-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftsoftwaregroup%2Fcli-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swiftsoftwaregroup","download_url":"https://codeload.github.com/swiftsoftwaregroup/cli-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swiftsoftwaregroup%2Fcli-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29363010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2024-11-10T07:09:30.753Z","updated_at":"2026-02-12T10:02:02.002Z","avatar_url":"https://github.com/swiftsoftwaregroup.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cli-py\n\nTemplate for Command Line Interface (CLI) tool in Python\n\n## Development\n\n### Setup for macOS\n\n#### Xcode Command Line Tools\n\nInstall Command Line Tools (CLT) for Xcode:\n\n```bash\nxcode-select --install\n```\n\n#### Homebrew\n\nInstall [Homebrew](https://brew.sh/):\n\n```bash\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n```\n\n#### pyenv\n\nInstall Python version manager [pyenv](https://github.com/pyenv/pyenv)\n\n```bash\nbrew install pyenv\n```\n\n### Work on macOS\n\nConfigure project:\n\n```bash\nsource configure.sh\n```\n\nOpen the project in Visual Studio Code:\n\n```bash\ncode .\n```\n\n###  Run\n\n```bash\necho \"John\" \u003e name.txt\n\ncli-py greet name.txt\ncli-py greet --language es name.txt\ncli-py greet -l bg name.txt\n```\n\n### Test\n\n```bash\npytest\n```\n\n### Docs\n\n```bash\n# build \nmkdocs build\n\n# serve\nmkdocs serve\n\n# open docs in browser\nopen http://127.0.0.1:8000\n```\n\n### How to create a new project\n\n```bash\n# init the project\npoetry init \\\n  --no-interaction \\\n  --name \"cli-py\" \\\n  --description \"CLI tool for greeting users in different languages\" \\\n  --license \"Apache-2.0\" \\\n  --python \"^3.12\"\n  \n# add `click` package\npoetry add click\n\n# add `dev` packages\npoetry add --dev pytest\npoetry add --dev mkdocs mkdocs-material mkdocstrings[python]\n```\n\nCreate the following project structure:\n\n```sh\ncli-py/\n├── cli_py/\n│   ├── __init__.py\n│   └── main.py\n├── pyproject.toml\n├── README.md\n└── LICENSE\n```\n\nInit docs:\n\n```bash\nmkdocs new .\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftsoftwaregroup%2Fcli-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiftsoftwaregroup%2Fcli-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftsoftwaregroup%2Fcli-py/lists"}