gitghost 1.0.1__py3-none-any.whl → 1.0.3__py3-none-any.whl
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.
- gitghost/cli.py +6 -0
- {gitghost-1.0.1.dist-info → gitghost-1.0.3.dist-info}/METADATA +8 -16
- gitghost-1.0.3.dist-info/RECORD +7 -0
- gitghost-1.0.1.dist-info/RECORD +0 -7
- {gitghost-1.0.1.dist-info → gitghost-1.0.3.dist-info}/WHEEL +0 -0
- {gitghost-1.0.1.dist-info → gitghost-1.0.3.dist-info}/entry_points.txt +0 -0
- {gitghost-1.0.1.dist-info → gitghost-1.0.3.dist-info}/top_level.txt +0 -0
gitghost/cli.py
CHANGED
@@ -301,6 +301,12 @@ def init():
|
|
301
301
|
with open(gitignore_path, "w") as f:
|
302
302
|
f.write(vault_block)
|
303
303
|
click.echo("Created .gitignore with GitGhost block")
|
304
|
+
@cli.command()
|
305
|
+
@click.pass_context
|
306
|
+
def help(ctx):
|
307
|
+
"""Show this message and exit."""
|
308
|
+
click.echo(cli.get_help(ctx))
|
309
|
+
|
304
310
|
|
305
311
|
if __name__ == "__main__":
|
306
312
|
cli()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: gitghost
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.3
|
4
4
|
Summary: Private version control for your Git ignored files.
|
5
5
|
Author: Decoding Chris
|
6
6
|
License-Expression: MIT
|
@@ -21,8 +21,6 @@ Requires-Dist: gitpython<4.0,>=3.1
|
|
21
21
|
|
22
22
|
Private version control for your Git ignored files.
|
23
23
|
|
24
|
-
---
|
25
|
-
|
26
24
|
## Why use GitGhost?
|
27
25
|
|
28
26
|
- **Keep sensitive files private:** Manage secrets, configs, or personal files outside your public repo.
|
@@ -31,16 +29,12 @@ Private version control for your Git ignored files.
|
|
31
29
|
- **Separate private repo:** Keeps your private data secure and versioned.
|
32
30
|
- **Cross-platform:** Designed for Linux, works on any system with Python 3.10+.
|
33
31
|
|
34
|
-
---
|
35
|
-
|
36
32
|
## Requirements
|
37
33
|
|
38
34
|
- Python 3.10 or higher
|
39
35
|
- Git installed
|
40
36
|
- GitHub CLI (`gh`) is required for private repo automation
|
41
37
|
|
42
|
-
---
|
43
|
-
|
44
38
|
## Installation
|
45
39
|
|
46
40
|
Install GitGhost directly from PyPI:
|
@@ -49,9 +43,7 @@ Install GitGhost directly from PyPI:
|
|
49
43
|
pip install gitghost
|
50
44
|
```
|
51
45
|
|
52
|
-
|
53
|
-
|
54
|
-
## Quick Start
|
46
|
+
## Commands
|
55
47
|
|
56
48
|
Initialize GitGhost in your project:
|
57
49
|
|
@@ -77,7 +69,11 @@ Discard private changes:
|
|
77
69
|
gitghost discard
|
78
70
|
```
|
79
71
|
|
80
|
-
|
72
|
+
Get help and list all commands:
|
73
|
+
|
74
|
+
```bash
|
75
|
+
gitghost help
|
76
|
+
```
|
81
77
|
|
82
78
|
## How it works
|
83
79
|
|
@@ -87,16 +83,12 @@ gitghost discard
|
|
87
83
|
- `gitghost status` shows private file changes.
|
88
84
|
- Keeps private data out of your public repo, but safely versioned.
|
89
85
|
|
90
|
-
---
|
91
|
-
|
92
86
|
## Links
|
93
87
|
|
94
|
-
- **PyPI:** (
|
88
|
+
- **PyPI:** [https://pypi.org/project/gitghost/](https://pypi.org/project/gitghost/)
|
95
89
|
- **Source Code:** [https://github.com/decodingchris/gitghost](https://github.com/decodingchris/gitghost)
|
96
90
|
- **Issue Tracker:** [https://github.com/decodingchris/gitghost/issues](https://github.com/decodingchris/gitghost/issues)
|
97
91
|
|
98
|
-
---
|
99
|
-
|
100
92
|
## License
|
101
93
|
|
102
94
|
This project is licensed under the **MIT License**. See the [LICENSE](https://opensource.org/licenses/MIT) file for details.
|
@@ -0,0 +1,7 @@
|
|
1
|
+
gitghost/__init__.py,sha256=tF7wf-6Dl5FQ3GubE9ucgDpkOkHyp1O6CsV6tZpifmY,23
|
2
|
+
gitghost/cli.py,sha256=ZPntS1VyWBrcqpTvyMGAPe3VXJd5yB9o7GLXSepNKm4,11379
|
3
|
+
gitghost-1.0.3.dist-info/METADATA,sha256=7aN9A12CbBMm2MD2QF-RF7QKD36rvBdHehg4ic5vG0s,2523
|
4
|
+
gitghost-1.0.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
5
|
+
gitghost-1.0.3.dist-info/entry_points.txt,sha256=RJW3gz58dSYB6jTf2mlprcU7H4OI_KGO_yHmJBIWU_Q,46
|
6
|
+
gitghost-1.0.3.dist-info/top_level.txt,sha256=mojEQo6pt-3lkeJxbiwqWxsm0Z7PMngvymEH863d73g,9
|
7
|
+
gitghost-1.0.3.dist-info/RECORD,,
|
gitghost-1.0.1.dist-info/RECORD
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
gitghost/__init__.py,sha256=tF7wf-6Dl5FQ3GubE9ucgDpkOkHyp1O6CsV6tZpifmY,23
|
2
|
-
gitghost/cli.py,sha256=wCx2Zeo3oQ9Ci47i-htk9D6lEHOMfWqKlQtZwY9xxGU,11256
|
3
|
-
gitghost-1.0.1.dist-info/METADATA,sha256=JTe4q2JAUc2wPt_yWX0T4yPKrpzn3XRKzB5_n0XWxTQ,2442
|
4
|
-
gitghost-1.0.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
5
|
-
gitghost-1.0.1.dist-info/entry_points.txt,sha256=RJW3gz58dSYB6jTf2mlprcU7H4OI_KGO_yHmJBIWU_Q,46
|
6
|
-
gitghost-1.0.1.dist-info/top_level.txt,sha256=mojEQo6pt-3lkeJxbiwqWxsm0Z7PMngvymEH863d73g,9
|
7
|
-
gitghost-1.0.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|