File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,11 +4,16 @@ This is a simple example package that can be used to get basic info on GitHub re
44
55# Installation
66
7- Install the python package:
8- ```
7+ Python package:
8+ ``` commandline
99python -m pip install --index-url https://test.pypi.org/simple/ repo_reader_sancherepan
1010```
1111
12+ Docker image:
13+ ``` commandline
14+ docker pull sancherepan/repo-reader
15+ docker run -it --rm sancherepan/repo-reader read-repos --help
16+ ```
1217
1318# Usage
1419
@@ -24,3 +29,8 @@ In command line:
2429``` commandline
2530read-repos your_github_auth_token github_repo_group_name
2631```
32+
33+ In docker:
34+ ``` commandline
35+ docker run -it --rm sancherepan/repo-reader read-repos your_github_auth_token github_repo_group_name
36+ ```
Original file line number Diff line number Diff line change @@ -4,6 +4,4 @@ COPY . /src
44
55RUN pip install /src && rm -rf /src
66
7- ENTRYPOINT ["bash" , "-c" , "read-repos" ]
8-
9- CMD ["-h" ]
7+ CMD ["read-repos" , "-h" ]
Original file line number Diff line number Diff line change @@ -17,9 +17,12 @@ classifiers = [
1717 " Programming Language :: Python :: 3.11" ,
1818 " License :: OSI Approved :: MIT License"
1919]
20+ dependencies = [
21+ " requests"
22+ ]
2023
2124[project .urls ]
2225"Homepage" = " https://github.com/sancherepan/test-code"
2326
2427[project .scripts ]
25- read-repos = " repo_reader_sancherepan.print_repos_info:main"
28+ read-repos = " repo_reader_sancherepan.print_repos_info:main"
You can’t perform that action at this time.
0 commit comments