gitghost 1.0.1__tar.gz → 1.0.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitghost
3
- Version: 1.0.1
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:** (Coming soon)
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.
@@ -2,8 +2,6 @@
2
2
 
3
3
  Private version control for your Git ignored files.
4
4
 
5
- ---
6
-
7
5
  ## Why use GitGhost?
8
6
 
9
7
  - **Keep sensitive files private:** Manage secrets, configs, or personal files outside your public repo.
@@ -12,16 +10,12 @@ Private version control for your Git ignored files.
12
10
  - **Separate private repo:** Keeps your private data secure and versioned.
13
11
  - **Cross-platform:** Designed for Linux, works on any system with Python 3.10+.
14
12
 
15
- ---
16
-
17
13
  ## Requirements
18
14
 
19
15
  - Python 3.10 or higher
20
16
  - Git installed
21
17
  - GitHub CLI (`gh`) is required for private repo automation
22
18
 
23
- ---
24
-
25
19
  ## Installation
26
20
 
27
21
  Install GitGhost directly from PyPI:
@@ -30,9 +24,7 @@ Install GitGhost directly from PyPI:
30
24
  pip install gitghost
31
25
  ```
32
26
 
33
- ---
34
-
35
- ## Quick Start
27
+ ## Commands
36
28
 
37
29
  Initialize GitGhost in your project:
38
30
 
@@ -58,7 +50,11 @@ Discard private changes:
58
50
  gitghost discard
59
51
  ```
60
52
 
61
- ---
53
+ Get help and list all commands:
54
+
55
+ ```bash
56
+ gitghost help
57
+ ```
62
58
 
63
59
  ## How it works
64
60
 
@@ -68,16 +64,12 @@ gitghost discard
68
64
  - `gitghost status` shows private file changes.
69
65
  - Keeps private data out of your public repo, but safely versioned.
70
66
 
71
- ---
72
-
73
67
  ## Links
74
68
 
75
- - **PyPI:** (Coming soon)
69
+ - **PyPI:** [https://pypi.org/project/gitghost/](https://pypi.org/project/gitghost/)
76
70
  - **Source Code:** [https://github.com/decodingchris/gitghost](https://github.com/decodingchris/gitghost)
77
71
  - **Issue Tracker:** [https://github.com/decodingchris/gitghost/issues](https://github.com/decodingchris/gitghost/issues)
78
72
 
79
- ---
80
-
81
73
  ## License
82
74
 
83
75
  This project is licensed under the **MIT License**. See the [LICENSE](https://opensource.org/licenses/MIT) file for details.
@@ -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.1
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:** (Coming soon)
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.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "gitghost"
7
- version = "1.0.1"
7
+ version = "1.0.3"
8
8
  description = "Private version control for your Git ignored files."
9
9
  authors = [
10
10
  { name = "Decoding Chris" }
@@ -281,4 +281,10 @@ def test_cli_entry_point():
281
281
  # Cover line 300
282
282
  from gitghost import cli as cli_module
283
283
  with pytest.raises(SystemExit):
284
- cli_module.cli()
284
+ cli_module.cli()
285
+
286
+ def test_help_command(runner):
287
+ result = runner.invoke(cli, ['help'])
288
+ assert result.exit_code == 0
289
+ assert 'Usage:' in result.output
290
+ assert 'Commands:' in result.output
File without changes
File without changes
File without changes