tocs 1.0.3__tar.gz → 1.0.4__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: tocs
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Generate TOC for markdown files
5
5
  Author-email: Andrea Bondanini <bondaniniandrea@gmail.com>
6
6
  License: MIT
@@ -30,9 +30,15 @@ As a person who loves to write personal technical notes in markdown files, I nee
30
30
  pip install tocs
31
31
  ```
32
32
 
33
+ ### Update
34
+ ```bash
35
+ pip install --upgrade tocs
36
+ ```
37
+
33
38
  ### Basic usage:
34
39
  - `tocs input_file.md` - Generate TOC for the file
35
40
  - `tocs --depth 2 input_file.md` - Limit the TOC generation to headers up to a specified depth
41
+ - `tocs --dry-run input_file.md` - Preview TOC without modifying the file
36
42
  - `tocs --help` - Show usage instructions
37
43
  - `tocs --version` - Display version information
38
44
 
@@ -12,9 +12,15 @@ As a person who loves to write personal technical notes in markdown files, I nee
12
12
  pip install tocs
13
13
  ```
14
14
 
15
+ ### Update
16
+ ```bash
17
+ pip install --upgrade tocs
18
+ ```
19
+
15
20
  ### Basic usage:
16
21
  - `tocs input_file.md` - Generate TOC for the file
17
22
  - `tocs --depth 2 input_file.md` - Limit the TOC generation to headers up to a specified depth
23
+ - `tocs --dry-run input_file.md` - Preview TOC without modifying the file
18
24
  - `tocs --help` - Show usage instructions
19
25
  - `tocs --version` - Display version information
20
26
 
@@ -3,7 +3,7 @@ name = "tocs"
3
3
  description = "Generate TOC for markdown files"
4
4
  authors = [{ name = "Andrea Bondanini", email = "bondaniniandrea@gmail.com" }]
5
5
  license = { text = "MIT" }
6
- version = "1.0.3"
6
+ version = "1.0.4"
7
7
  requires-python = ">=3.11.9"
8
8
  readme = "README.md"
9
9
  keywords = ["markdown", "tocs", "cli", "documentation", "generator"]
@@ -114,7 +114,7 @@ def main():
114
114
  parser.add_argument(
115
115
  "--depth", type=int, help="Maximum header depth to include in TOC"
116
116
  )
117
- parser.add_argument("--version", action="version", version="tocs 1.0.3")
117
+ parser.add_argument("--version", action="version", version="tocs 1.0.4")
118
118
  args = parser.parse_args()
119
119
  path = Path(args.file).resolve()
120
120
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tocs
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Generate TOC for markdown files
5
5
  Author-email: Andrea Bondanini <bondaniniandrea@gmail.com>
6
6
  License: MIT
@@ -30,9 +30,15 @@ As a person who loves to write personal technical notes in markdown files, I nee
30
30
  pip install tocs
31
31
  ```
32
32
 
33
+ ### Update
34
+ ```bash
35
+ pip install --upgrade tocs
36
+ ```
37
+
33
38
  ### Basic usage:
34
39
  - `tocs input_file.md` - Generate TOC for the file
35
40
  - `tocs --depth 2 input_file.md` - Limit the TOC generation to headers up to a specified depth
41
+ - `tocs --dry-run input_file.md` - Preview TOC without modifying the file
36
42
  - `tocs --help` - Show usage instructions
37
43
  - `tocs --version` - Display version information
38
44
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes