{"id":14064988,"url":"https://github.com/vBarbaros/cli-template-py","last_synced_at":"2025-07-29T19:33:52.026Z","repository":{"id":141137569,"uuid":"584195572","full_name":"vBarbaros/cli-template-py","owner":"vBarbaros","description":"Template for creating a CLI in Python, with a minimal set of features","archived":false,"fork":false,"pushed_at":"2023-10-30T00:07:09.000Z","size":13,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-14T07:08:02.799Z","etag":null,"topics":["python-cli","python-cli-boilerplate","python-cli-project","python-cli-starter-kit","python-cli-tool","python-client","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vBarbaros.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-01-01T19:31:25.000Z","updated_at":"2024-04-12T05:15:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"15424923-63c8-4ac3-abea-0b413599cc2e","html_url":"https://github.com/vBarbaros/cli-template-py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vBarbaros%2Fcli-template-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vBarbaros%2Fcli-template-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vBarbaros%2Fcli-template-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vBarbaros%2Fcli-template-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vBarbaros","download_url":"https://codeload.github.com/vBarbaros/cli-template-py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228045975,"owners_count":17861072,"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":["python-cli","python-cli-boilerplate","python-cli-project","python-cli-starter-kit","python-cli-tool","python-client","python3"],"created_at":"2024-08-13T07:04:13.306Z","updated_at":"2024-12-04T04:30:33.648Z","avatar_url":"https://github.com/vBarbaros.png","language":"Python","readme":"Welcome to this repository for a command line interface (CLI) \ntemplate implemented in Python!\n\nThis repository includes a template for creating a CLI in Python, with a \nminimal set of features and a simple structure that is easy to understand and modify. \nYou can use this template as a starting point for building your own CLI, or as a reference\nto help you understand how CLIs work in Python.\n\nThe repository includes the source code for the template CLI, as well as documentation and \nexamples of how to use it. To get started, simply clone the repository and customize the \ntemplate to suit your needs.\n\nWhether you're a beginner looking for a simple starting point for your first CLI, or an \nexperienced developer looking for a reference implementation to use as a basis for your \nown CLIs, we hope you'll find this repository useful. If you have any questions or suggestions, \nplease don't hesitate to open an issue or submit a pull request.\n\nThank you for visiting this repository, and we hope you find it helpful!\n\n## Examples\n\n```\n# examples of API calls invoking\n$ python3 src/run.py --get 1                           \nConnection Error: Please provide a valid URL\n\n$ python3 src/run.py --put 1\nError: 404\n\n$ python3 src/run.py --post 1\nError: 404\n\n$ python3 src/run.py --delete 1\nError: 404\n\n\n# example of IO operations invoking\n$ python3 src/run.py --input input.txt --output out.txt\n```\n\n## Run unit tests\n```\n$ python3 -m unittest \n\n# expected output\nRUNNING TESTS FOR ../data/ dir - input.txt\nEnsure input.txt file exists\nOK\n.\nRUNNING TESTS FOR ../scripts/ dir - out.txt\nEnsure out.txt file exists\nOK\n.\nRUNNING TESTS FOR ../scripts/ dir - api_calls.py\nEnsure api_calls.py file exists\nOK\n.\nRUNNING TESTS FOR ../scripts/ dir - io_ops.py\nEnsure io_ops.py file exists\nOK\n.\nRUNNING TESTS FOR ../src/ dir - run.py\nEnsure run.py file exists\nOK\n.\n----------------------------------------------------------------------\nRan 5 tests in 0.000s\n\nOK\n```","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FvBarbaros%2Fcli-template-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FvBarbaros%2Fcli-template-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FvBarbaros%2Fcli-template-py/lists"}