gitpush-tool 0.1.0__tar.gz → 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,157 @@
1
+ Metadata-Version: 2.4
2
+ Name: gitpush-tool
3
+ Version: 0.1.1
4
+ Summary: A CLI tool to simplify Git push operations with intelligent defaults and options.
5
+ Home-page: https://github.com/yourusername/gitpush_tool
6
+ Author: Ganesh Sonawane
7
+ Author-email: sonawaneganu3101@example.com
8
+ License: MIT
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.6
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ Dynamic: author
16
+ Dynamic: author-email
17
+ Dynamic: classifier
18
+ Dynamic: description
19
+ Dynamic: description-content-type
20
+ Dynamic: home-page
21
+ Dynamic: license
22
+ Dynamic: license-file
23
+ Dynamic: requires-python
24
+ Dynamic: summary
25
+
26
+ # `gitpush_tool`
27
+
28
+ [![CI/CD Status](https://github.com/your-username/gitpush_tool/actions/workflows/main.yml/badge.svg)](https://github.com/your-username/gitpush_tool/actions/workflows/main.yml)
29
+ [![PyPI version](https://badge.fury.io/py/gitpush_tool.svg)](https://pypi.org/project/gitpush_tool/)
30
+ [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
31
+
32
+ ## About `gitpush_tool`
33
+
34
+ `gitpush_tool` is a lightweight yet powerful command-line utility designed to streamline and simplify your Git push operations. In the fast-paced world of software development, repetitive or complex Git commands can hinder productivity. This tool aims to alleviate that by providing an intuitive interface and potentially advanced functionalities to manage your code pushes with greater ease and efficiency.
35
+
36
+ Whether you're a seasoned developer managing multiple branches and remotes or a newcomer looking for a more forgiving way to interact with Git's push command, `gitpush_tool` offers a refined experience. It abstracts away some of the complexities of `git push`, allowing you to focus more on your code and less on command-line intricacies, ultimately enhancing your daily development workflow.
37
+
38
+ ## Features
39
+
40
+ * **Simplified Push Operations**: Execute common Git push commands with a more concise and user-friendly syntax.
41
+ * **Intelligent Defaults**: Potentially intelligent defaulting for common push scenarios (e.g., current branch, upstream remote).
42
+ * **Enhanced Workflow**: Designed to reduce keystrokes and potential errors during frequent push operations.
43
+ * **Python-based**: Easily installable and extensible within the Python ecosystem.
44
+ * **Lightweight**: Minimal dependencies, ensuring a small footprint and fast execution.
45
+
46
+ ## Installation
47
+
48
+ `gitpush_tool` is a Python package and can be easily installed using `pip`.
49
+
50
+ ### Using `pip` (Recommended)
51
+
52
+ To install the latest stable version from PyPI:
53
+
54
+ ```bash
55
+ pip install gitpush_tool
56
+ ```
57
+
58
+ ### From Source
59
+
60
+ If you want to install the latest development version or contribute to the project, you can install it directly from the source:
61
+
62
+ ```bash
63
+ git clone https://github.com/your-username/gitpush_tool.git
64
+ cd gitpush_tool
65
+ pip install .
66
+ ```
67
+
68
+ For development purposes, you might want to install it in editable mode:
69
+
70
+ ```bash
71
+ pip install -e .
72
+ ```
73
+
74
+ ## Usage
75
+
76
+ Once installed, `gitpush_tool` can be invoked from your terminal. Its primary purpose is to simplify the `git push` command. The exact arguments and behaviors will depend on the tool's implementation, but here are some illustrative examples based on common Git push patterns:
77
+
78
+ ### Basic Push
79
+
80
+ To push your current branch to its configured upstream remote:
81
+
82
+ ```bash
83
+ gitpush_tool
84
+ ```
85
+
86
+ ### Pushing a Specific Branch
87
+
88
+ To push a specific local branch (`feature/xyz`) to its default remote:
89
+
90
+ ```bash
91
+ gitpush_tool feature/xyz
92
+ ```
93
+
94
+ ### Pushing to a Specific Remote and Branch
95
+
96
+ To push your current branch to a specific remote (`origin`) and branch (`main`):
97
+
98
+ ```bash
99
+ gitpush_tool origin main
100
+ ```
101
+
102
+ ### Force Push (with caution!)
103
+
104
+ To perform a force push (e.g., using `--force-with-lease` for safety):
105
+
106
+ ```bash
107
+ gitpush_tool --force
108
+ # or, if the tool provides a safer alias
109
+ gitpush_tool --force-lease
110
+ ```
111
+
112
+ ### Pushing Tags
113
+
114
+ To push all local tags:
115
+
116
+ ```bash
117
+ gitpush_tool --tags
118
+ ```
119
+
120
+ ### Help
121
+
122
+ To view all available commands and options:
123
+
124
+ ```bash
125
+ gitpush_tool --help
126
+ ```
127
+
128
+ *Note: The actual commands and their effects depend on the specific logic implemented within `gitpush_tool/cli.py`. Please refer to the tool's `--help` output for precise usage details.*
129
+
130
+ ## Configuration
131
+
132
+ `gitpush_tool` primarily relies on command-line arguments for its operation. Based on the project analysis, there are no specific user-facing configuration files (like `.gitpushrc` or similar) detected that would require manual editing by the user for runtime behavior. `pyproject.toml` and `setup.py` are used for project building and packaging, not for end-user runtime configuration.
133
+
134
+ Any configuration or default behaviors would typically be set through environmental variables or command-line flags. Consult the `--help` output for any such options.
135
+
136
+ ## API Documentation
137
+
138
+ `gitpush_tool` is designed as a command-line interface (CLI) tool for direct user interaction. It is not intended to be used as a Python library with an exposed API for import into other Python projects. Its functionality is accessible exclusively via the terminal.
139
+
140
+ ## Contributing
141
+
142
+ We welcome contributions to `gitpush_tool`! If you have suggestions for improvements, bug reports, or want to contribute code, please follow these steps:
143
+
144
+ 1. **Fork** the repository on GitHub.
145
+ 2. **Clone** your forked repository: `git clone https://github.com/your-username/gitpush_tool.git`
146
+ 3. **Create a new branch**: `git checkout -b feature/your-feature-name` or `bugfix/issue-description`
147
+ 4. **Make your changes**.
148
+ 5. **Test your changes** thoroughly.
149
+ 6. **Commit your changes**: `git commit -m "feat: Add new awesome feature"` (please use conventional commits if possible).
150
+ 7. **Push to your branch**: `git push origin feature/your-feature-name`
151
+ 8. **Open a Pull Request** against the `main` branch of the original repository.
152
+
153
+ Please ensure your code adheres to good coding practices and includes relevant tests.
154
+
155
+ ## License
156
+
157
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -0,0 +1,132 @@
1
+ # `gitpush_tool`
2
+
3
+ [![CI/CD Status](https://github.com/your-username/gitpush_tool/actions/workflows/main.yml/badge.svg)](https://github.com/your-username/gitpush_tool/actions/workflows/main.yml)
4
+ [![PyPI version](https://badge.fury.io/py/gitpush_tool.svg)](https://pypi.org/project/gitpush_tool/)
5
+ [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
6
+
7
+ ## About `gitpush_tool`
8
+
9
+ `gitpush_tool` is a lightweight yet powerful command-line utility designed to streamline and simplify your Git push operations. In the fast-paced world of software development, repetitive or complex Git commands can hinder productivity. This tool aims to alleviate that by providing an intuitive interface and potentially advanced functionalities to manage your code pushes with greater ease and efficiency.
10
+
11
+ Whether you're a seasoned developer managing multiple branches and remotes or a newcomer looking for a more forgiving way to interact with Git's push command, `gitpush_tool` offers a refined experience. It abstracts away some of the complexities of `git push`, allowing you to focus more on your code and less on command-line intricacies, ultimately enhancing your daily development workflow.
12
+
13
+ ## Features
14
+
15
+ * **Simplified Push Operations**: Execute common Git push commands with a more concise and user-friendly syntax.
16
+ * **Intelligent Defaults**: Potentially intelligent defaulting for common push scenarios (e.g., current branch, upstream remote).
17
+ * **Enhanced Workflow**: Designed to reduce keystrokes and potential errors during frequent push operations.
18
+ * **Python-based**: Easily installable and extensible within the Python ecosystem.
19
+ * **Lightweight**: Minimal dependencies, ensuring a small footprint and fast execution.
20
+
21
+ ## Installation
22
+
23
+ `gitpush_tool` is a Python package and can be easily installed using `pip`.
24
+
25
+ ### Using `pip` (Recommended)
26
+
27
+ To install the latest stable version from PyPI:
28
+
29
+ ```bash
30
+ pip install gitpush_tool
31
+ ```
32
+
33
+ ### From Source
34
+
35
+ If you want to install the latest development version or contribute to the project, you can install it directly from the source:
36
+
37
+ ```bash
38
+ git clone https://github.com/your-username/gitpush_tool.git
39
+ cd gitpush_tool
40
+ pip install .
41
+ ```
42
+
43
+ For development purposes, you might want to install it in editable mode:
44
+
45
+ ```bash
46
+ pip install -e .
47
+ ```
48
+
49
+ ## Usage
50
+
51
+ Once installed, `gitpush_tool` can be invoked from your terminal. Its primary purpose is to simplify the `git push` command. The exact arguments and behaviors will depend on the tool's implementation, but here are some illustrative examples based on common Git push patterns:
52
+
53
+ ### Basic Push
54
+
55
+ To push your current branch to its configured upstream remote:
56
+
57
+ ```bash
58
+ gitpush_tool
59
+ ```
60
+
61
+ ### Pushing a Specific Branch
62
+
63
+ To push a specific local branch (`feature/xyz`) to its default remote:
64
+
65
+ ```bash
66
+ gitpush_tool feature/xyz
67
+ ```
68
+
69
+ ### Pushing to a Specific Remote and Branch
70
+
71
+ To push your current branch to a specific remote (`origin`) and branch (`main`):
72
+
73
+ ```bash
74
+ gitpush_tool origin main
75
+ ```
76
+
77
+ ### Force Push (with caution!)
78
+
79
+ To perform a force push (e.g., using `--force-with-lease` for safety):
80
+
81
+ ```bash
82
+ gitpush_tool --force
83
+ # or, if the tool provides a safer alias
84
+ gitpush_tool --force-lease
85
+ ```
86
+
87
+ ### Pushing Tags
88
+
89
+ To push all local tags:
90
+
91
+ ```bash
92
+ gitpush_tool --tags
93
+ ```
94
+
95
+ ### Help
96
+
97
+ To view all available commands and options:
98
+
99
+ ```bash
100
+ gitpush_tool --help
101
+ ```
102
+
103
+ *Note: The actual commands and their effects depend on the specific logic implemented within `gitpush_tool/cli.py`. Please refer to the tool's `--help` output for precise usage details.*
104
+
105
+ ## Configuration
106
+
107
+ `gitpush_tool` primarily relies on command-line arguments for its operation. Based on the project analysis, there are no specific user-facing configuration files (like `.gitpushrc` or similar) detected that would require manual editing by the user for runtime behavior. `pyproject.toml` and `setup.py` are used for project building and packaging, not for end-user runtime configuration.
108
+
109
+ Any configuration or default behaviors would typically be set through environmental variables or command-line flags. Consult the `--help` output for any such options.
110
+
111
+ ## API Documentation
112
+
113
+ `gitpush_tool` is designed as a command-line interface (CLI) tool for direct user interaction. It is not intended to be used as a Python library with an exposed API for import into other Python projects. Its functionality is accessible exclusively via the terminal.
114
+
115
+ ## Contributing
116
+
117
+ We welcome contributions to `gitpush_tool`! If you have suggestions for improvements, bug reports, or want to contribute code, please follow these steps:
118
+
119
+ 1. **Fork** the repository on GitHub.
120
+ 2. **Clone** your forked repository: `git clone https://github.com/your-username/gitpush_tool.git`
121
+ 3. **Create a new branch**: `git checkout -b feature/your-feature-name` or `bugfix/issue-description`
122
+ 4. **Make your changes**.
123
+ 5. **Test your changes** thoroughly.
124
+ 6. **Commit your changes**: `git commit -m "feat: Add new awesome feature"` (please use conventional commits if possible).
125
+ 7. **Push to your branch**: `git push origin feature/your-feature-name`
126
+ 8. **Open a Pull Request** against the `main` branch of the original repository.
127
+
128
+ Please ensure your code adheres to good coding practices and includes relevant tests.
129
+
130
+ ## License
131
+
132
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -0,0 +1,44 @@
1
+ import os
2
+ import argparse
3
+ import sys
4
+
5
+ def run():
6
+ parser = argparse.ArgumentParser(
7
+ description="📦 Simple CLI to automate git init, add, commit, and push operations."
8
+ )
9
+ parser.add_argument("commit", nargs="?", help="Commit message. If omitted, no commit will be made.")
10
+ parser.add_argument("branch", nargs="?", help="Branch to push to (e.g., main, feature/xyz).")
11
+ parser.add_argument("remote", nargs="?", help="Remote name (default: origin).")
12
+ parser.add_argument("--force", action="store_true", help="Force push (use with caution).")
13
+ parser.add_argument("--tags", action="store_true", help="Push all local tags.")
14
+ parser.add_argument("--init", action="store_true", help="Run 'git init' before pushing.")
15
+
16
+ args = parser.parse_args()
17
+
18
+ if args.init:
19
+ print("🛠 Initializing git repository...")
20
+ os.system("git init")
21
+
22
+ os.system("git add .")
23
+
24
+ if args.commit:
25
+ print(f"📦 Committing with message: '{args.commit}'")
26
+ os.system(f'git commit -m "{args.commit}"')
27
+ else:
28
+ print("⚠️ No commit message provided. Skipping commit step.")
29
+
30
+ push_cmd = "git push"
31
+
32
+ if args.force:
33
+ push_cmd += " --force-with-lease"
34
+
35
+ if args.tags:
36
+ push_cmd += " --tags"
37
+
38
+ if args.remote and args.branch:
39
+ push_cmd += f" {args.remote} {args.branch}"
40
+ elif args.branch:
41
+ push_cmd += f" origin {args.branch}"
42
+
43
+ print(f"🚀 Running: {push_cmd}")
44
+ os.system(push_cmd)
@@ -0,0 +1,157 @@
1
+ Metadata-Version: 2.4
2
+ Name: gitpush-tool
3
+ Version: 0.1.1
4
+ Summary: A CLI tool to simplify Git push operations with intelligent defaults and options.
5
+ Home-page: https://github.com/yourusername/gitpush_tool
6
+ Author: Ganesh Sonawane
7
+ Author-email: sonawaneganu3101@example.com
8
+ License: MIT
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.6
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ Dynamic: author
16
+ Dynamic: author-email
17
+ Dynamic: classifier
18
+ Dynamic: description
19
+ Dynamic: description-content-type
20
+ Dynamic: home-page
21
+ Dynamic: license
22
+ Dynamic: license-file
23
+ Dynamic: requires-python
24
+ Dynamic: summary
25
+
26
+ # `gitpush_tool`
27
+
28
+ [![CI/CD Status](https://github.com/your-username/gitpush_tool/actions/workflows/main.yml/badge.svg)](https://github.com/your-username/gitpush_tool/actions/workflows/main.yml)
29
+ [![PyPI version](https://badge.fury.io/py/gitpush_tool.svg)](https://pypi.org/project/gitpush_tool/)
30
+ [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
31
+
32
+ ## About `gitpush_tool`
33
+
34
+ `gitpush_tool` is a lightweight yet powerful command-line utility designed to streamline and simplify your Git push operations. In the fast-paced world of software development, repetitive or complex Git commands can hinder productivity. This tool aims to alleviate that by providing an intuitive interface and potentially advanced functionalities to manage your code pushes with greater ease and efficiency.
35
+
36
+ Whether you're a seasoned developer managing multiple branches and remotes or a newcomer looking for a more forgiving way to interact with Git's push command, `gitpush_tool` offers a refined experience. It abstracts away some of the complexities of `git push`, allowing you to focus more on your code and less on command-line intricacies, ultimately enhancing your daily development workflow.
37
+
38
+ ## Features
39
+
40
+ * **Simplified Push Operations**: Execute common Git push commands with a more concise and user-friendly syntax.
41
+ * **Intelligent Defaults**: Potentially intelligent defaulting for common push scenarios (e.g., current branch, upstream remote).
42
+ * **Enhanced Workflow**: Designed to reduce keystrokes and potential errors during frequent push operations.
43
+ * **Python-based**: Easily installable and extensible within the Python ecosystem.
44
+ * **Lightweight**: Minimal dependencies, ensuring a small footprint and fast execution.
45
+
46
+ ## Installation
47
+
48
+ `gitpush_tool` is a Python package and can be easily installed using `pip`.
49
+
50
+ ### Using `pip` (Recommended)
51
+
52
+ To install the latest stable version from PyPI:
53
+
54
+ ```bash
55
+ pip install gitpush_tool
56
+ ```
57
+
58
+ ### From Source
59
+
60
+ If you want to install the latest development version or contribute to the project, you can install it directly from the source:
61
+
62
+ ```bash
63
+ git clone https://github.com/your-username/gitpush_tool.git
64
+ cd gitpush_tool
65
+ pip install .
66
+ ```
67
+
68
+ For development purposes, you might want to install it in editable mode:
69
+
70
+ ```bash
71
+ pip install -e .
72
+ ```
73
+
74
+ ## Usage
75
+
76
+ Once installed, `gitpush_tool` can be invoked from your terminal. Its primary purpose is to simplify the `git push` command. The exact arguments and behaviors will depend on the tool's implementation, but here are some illustrative examples based on common Git push patterns:
77
+
78
+ ### Basic Push
79
+
80
+ To push your current branch to its configured upstream remote:
81
+
82
+ ```bash
83
+ gitpush_tool
84
+ ```
85
+
86
+ ### Pushing a Specific Branch
87
+
88
+ To push a specific local branch (`feature/xyz`) to its default remote:
89
+
90
+ ```bash
91
+ gitpush_tool feature/xyz
92
+ ```
93
+
94
+ ### Pushing to a Specific Remote and Branch
95
+
96
+ To push your current branch to a specific remote (`origin`) and branch (`main`):
97
+
98
+ ```bash
99
+ gitpush_tool origin main
100
+ ```
101
+
102
+ ### Force Push (with caution!)
103
+
104
+ To perform a force push (e.g., using `--force-with-lease` for safety):
105
+
106
+ ```bash
107
+ gitpush_tool --force
108
+ # or, if the tool provides a safer alias
109
+ gitpush_tool --force-lease
110
+ ```
111
+
112
+ ### Pushing Tags
113
+
114
+ To push all local tags:
115
+
116
+ ```bash
117
+ gitpush_tool --tags
118
+ ```
119
+
120
+ ### Help
121
+
122
+ To view all available commands and options:
123
+
124
+ ```bash
125
+ gitpush_tool --help
126
+ ```
127
+
128
+ *Note: The actual commands and their effects depend on the specific logic implemented within `gitpush_tool/cli.py`. Please refer to the tool's `--help` output for precise usage details.*
129
+
130
+ ## Configuration
131
+
132
+ `gitpush_tool` primarily relies on command-line arguments for its operation. Based on the project analysis, there are no specific user-facing configuration files (like `.gitpushrc` or similar) detected that would require manual editing by the user for runtime behavior. `pyproject.toml` and `setup.py` are used for project building and packaging, not for end-user runtime configuration.
133
+
134
+ Any configuration or default behaviors would typically be set through environmental variables or command-line flags. Consult the `--help` output for any such options.
135
+
136
+ ## API Documentation
137
+
138
+ `gitpush_tool` is designed as a command-line interface (CLI) tool for direct user interaction. It is not intended to be used as a Python library with an exposed API for import into other Python projects. Its functionality is accessible exclusively via the terminal.
139
+
140
+ ## Contributing
141
+
142
+ We welcome contributions to `gitpush_tool`! If you have suggestions for improvements, bug reports, or want to contribute code, please follow these steps:
143
+
144
+ 1. **Fork** the repository on GitHub.
145
+ 2. **Clone** your forked repository: `git clone https://github.com/your-username/gitpush_tool.git`
146
+ 3. **Create a new branch**: `git checkout -b feature/your-feature-name` or `bugfix/issue-description`
147
+ 4. **Make your changes**.
148
+ 5. **Test your changes** thoroughly.
149
+ 6. **Commit your changes**: `git commit -m "feat: Add new awesome feature"` (please use conventional commits if possible).
150
+ 7. **Push to your branch**: `git push origin feature/your-feature-name`
151
+ 8. **Open a Pull Request** against the `main` branch of the original repository.
152
+
153
+ Please ensure your code adheres to good coding practices and includes relevant tests.
154
+
155
+ ## License
156
+
157
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ gitpush_tool = gitpush_tool.cli:run
@@ -2,21 +2,21 @@ from setuptools import setup, find_packages
2
2
  from pathlib import Path
3
3
 
4
4
  setup(
5
- name="gitpush-tool", # Changed to use hyphen instead of underscore
6
- version="0.1.0",
5
+ name="gitpush-tool",
6
+ version="0.1.1",
7
7
  packages=find_packages(),
8
8
  install_requires=[],
9
9
  entry_points={
10
10
  "console_scripts": [
11
- "gitpush=gitpush_tool.cli:run"
11
+ "gitpush_tool=gitpush_tool.cli:run"
12
12
  ],
13
13
  },
14
14
  author="Ganesh Sonawane",
15
15
  author_email="sonawaneganu3101@example.com",
16
- description="A simple CLI tool to push git commits with a single command.",
16
+ description="A CLI tool to simplify Git push operations with intelligent defaults and options.",
17
17
  long_description=Path("README.md").read_text(encoding="utf-8"),
18
18
  long_description_content_type="text/markdown",
19
- url="https://github.com/yourusername/gitpush",
19
+ url="https://github.com/yourusername/gitpush_tool",
20
20
  license="MIT",
21
21
  classifiers=[
22
22
  "Programming Language :: Python :: 3",
@@ -24,4 +24,4 @@ setup(
24
24
  "Operating System :: OS Independent",
25
25
  ],
26
26
  python_requires=">=3.6",
27
- )
27
+ )
@@ -1,33 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: gitpush-tool
3
- Version: 0.1.0
4
- Summary: A simple CLI tool to push git commits with a single command.
5
- Home-page: https://github.com/yourusername/gitpush
6
- Author: Ganesh Sonawane
7
- Author-email: sonawaneganu3101@example.com
8
- License: MIT
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: License :: OSI Approved :: MIT License
11
- Classifier: Operating System :: OS Independent
12
- Requires-Python: >=3.6
13
- Description-Content-Type: text/markdown
14
- License-File: LICENSE
15
- Dynamic: author
16
- Dynamic: author-email
17
- Dynamic: classifier
18
- Dynamic: description
19
- Dynamic: description-content-type
20
- Dynamic: home-page
21
- Dynamic: license
22
- Dynamic: license-file
23
- Dynamic: requires-python
24
- Dynamic: summary
25
-
26
- # gitpush_tool
27
-
28
- [![Python Version](https://img.shields.io/badge/python-3.x-blue.svg)](https://www.python.org/)
29
- [![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
30
- [![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://github.com/your_username/gitpush_tool/actions)
31
- [![Code Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen.svg)](https://github.com/your_username/gitpush_tool/actions)
32
-
33
- ##
@@ -1,8 +0,0 @@
1
- # gitpush_tool
2
-
3
- [![Python Version](https://img.shields.io/badge/python-3.x-blue.svg)](https://www.python.org/)
4
- [![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
5
- [![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://github.com/your_username/gitpush_tool/actions)
6
- [![Code Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen.svg)](https://github.com/your_username/gitpush_tool/actions)
7
-
8
- ##
@@ -1,15 +0,0 @@
1
- import os
2
- import sys
3
-
4
- def run():
5
- if len(sys.argv) < 2:
6
- print("❌ Please provide a commit message.")
7
- print("✅ Example: gitpush 'Initial commit'")
8
- sys.exit(1)
9
-
10
- commit_message = sys.argv[1]
11
-
12
- os.system("git init")
13
- os.system("git add .")
14
- os.system(f'git commit -m "{commit_message}"')
15
- os.system("git push")
@@ -1,33 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: gitpush-tool
3
- Version: 0.1.0
4
- Summary: A simple CLI tool to push git commits with a single command.
5
- Home-page: https://github.com/yourusername/gitpush
6
- Author: Ganesh Sonawane
7
- Author-email: sonawaneganu3101@example.com
8
- License: MIT
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: License :: OSI Approved :: MIT License
11
- Classifier: Operating System :: OS Independent
12
- Requires-Python: >=3.6
13
- Description-Content-Type: text/markdown
14
- License-File: LICENSE
15
- Dynamic: author
16
- Dynamic: author-email
17
- Dynamic: classifier
18
- Dynamic: description
19
- Dynamic: description-content-type
20
- Dynamic: home-page
21
- Dynamic: license
22
- Dynamic: license-file
23
- Dynamic: requires-python
24
- Dynamic: summary
25
-
26
- # gitpush_tool
27
-
28
- [![Python Version](https://img.shields.io/badge/python-3.x-blue.svg)](https://www.python.org/)
29
- [![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
30
- [![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://github.com/your_username/gitpush_tool/actions)
31
- [![Code Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen.svg)](https://github.com/your_username/gitpush_tool/actions)
32
-
33
- ##
@@ -1,2 +0,0 @@
1
- [console_scripts]
2
- gitpush = gitpush_tool.cli:run
File without changes
File without changes
File without changes