gitghost 1.0.2__py3-none-any.whl → 1.0.4__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 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,9 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitghost
3
- Version: 1.0.2
3
+ Version: 1.0.4
4
4
  Summary: Private version control for your Git ignored files.
5
5
  Author: Decoding Chris
6
6
  License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/decodingchris/GitGhost
8
+ Project-URL: Issues, https://github.com/decodingchris/gitghost/issues
7
9
  Classifier: Programming Language :: Python :: 3
8
10
  Classifier: Programming Language :: Python :: 3.10
9
11
  Classifier: Programming Language :: Python :: 3.11
@@ -21,8 +23,6 @@ Requires-Dist: gitpython<4.0,>=3.1
21
23
 
22
24
  Private version control for your Git ignored files.
23
25
 
24
- ---
25
-
26
26
  ## Why use GitGhost?
27
27
 
28
28
  - **Keep sensitive files private:** Manage secrets, configs, or personal files outside your public repo.
@@ -31,16 +31,12 @@ Private version control for your Git ignored files.
31
31
  - **Separate private repo:** Keeps your private data secure and versioned.
32
32
  - **Cross-platform:** Designed for Linux, works on any system with Python 3.10+.
33
33
 
34
- ---
35
-
36
34
  ## Requirements
37
35
 
38
36
  - Python 3.10 or higher
39
37
  - Git installed
40
38
  - GitHub CLI (`gh`) is required for private repo automation
41
39
 
42
- ---
43
-
44
40
  ## Installation
45
41
 
46
42
  Install GitGhost directly from PyPI:
@@ -49,9 +45,7 @@ Install GitGhost directly from PyPI:
49
45
  pip install gitghost
50
46
  ```
51
47
 
52
- ---
53
-
54
- ## Quick Start
48
+ ## Commands
55
49
 
56
50
  Initialize GitGhost in your project:
57
51
 
@@ -77,7 +71,11 @@ Discard private changes:
77
71
  gitghost discard
78
72
  ```
79
73
 
80
- ---
74
+ Get help and list all commands:
75
+
76
+ ```bash
77
+ gitghost help
78
+ ```
81
79
 
82
80
  ## How it works
83
81
 
@@ -87,16 +85,6 @@ gitghost discard
87
85
  - `gitghost status` shows private file changes.
88
86
  - Keeps private data out of your public repo, but safely versioned.
89
87
 
90
- ---
91
-
92
- ## Links
93
-
94
- - **PyPI:** [https://pypi.org/project/gitghost/](https://pypi.org/project/gitghost/)
95
- - **Source Code:** [https://github.com/decodingchris/gitghost](https://github.com/decodingchris/gitghost)
96
- - **Issue Tracker:** [https://github.com/decodingchris/gitghost/issues](https://github.com/decodingchris/gitghost/issues)
97
-
98
- ---
99
-
100
88
  ## License
101
89
 
102
90
  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.4.dist-info/METADATA,sha256=5HtJWr2umliC88BWiOnBayONADz58s7Tuen8CrJ-L9Q,2334
4
+ gitghost-1.0.4.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
5
+ gitghost-1.0.4.dist-info/entry_points.txt,sha256=RJW3gz58dSYB6jTf2mlprcU7H4OI_KGO_yHmJBIWU_Q,46
6
+ gitghost-1.0.4.dist-info/top_level.txt,sha256=mojEQo6pt-3lkeJxbiwqWxsm0Z7PMngvymEH863d73g,9
7
+ gitghost-1.0.4.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- gitghost/__init__.py,sha256=tF7wf-6Dl5FQ3GubE9ucgDpkOkHyp1O6CsV6tZpifmY,23
2
- gitghost/cli.py,sha256=wCx2Zeo3oQ9Ci47i-htk9D6lEHOMfWqKlQtZwY9xxGU,11256
3
- gitghost-1.0.2.dist-info/METADATA,sha256=MCZwiYUJuQ0uH0w2RMMHYgOlbzRscE3HwDM5y9cSLN0,2501
4
- gitghost-1.0.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
5
- gitghost-1.0.2.dist-info/entry_points.txt,sha256=RJW3gz58dSYB6jTf2mlprcU7H4OI_KGO_yHmJBIWU_Q,46
6
- gitghost-1.0.2.dist-info/top_level.txt,sha256=mojEQo6pt-3lkeJxbiwqWxsm0Z7PMngvymEH863d73g,9
7
- gitghost-1.0.2.dist-info/RECORD,,