@barbapapazes/content-creation 0.1.0 → 0.2.0
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.
- package/README.md +19 -3
- package/dist/cli.mjs +149 -44
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -4,9 +4,9 @@ A CLI tool to streamline content creation by generating dated directories with c
|
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
- Create dated
|
|
8
|
-
- User-friendly date selection (
|
|
9
|
-
- Automatic `
|
|
7
|
+
- Create dated directory structure (YYYY/MM/DD format)
|
|
8
|
+
- User-friendly date selection (up to 7 days ahead or custom date)
|
|
9
|
+
- Automatic `linkedin.md` file creation in the day directory
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
@@ -19,11 +19,27 @@ npm install -g @barbapapazes/content-creation
|
|
|
19
19
|
```bash
|
|
20
20
|
# Create content directory in current working directory
|
|
21
21
|
content-creation
|
|
22
|
+
# Result: 2026/01/01/linkedin.md
|
|
22
23
|
|
|
23
24
|
# Create content directory at a specific path
|
|
24
25
|
content-creation --path /path/to/content
|
|
26
|
+
# Result: /path/to/content/2026/01/01/linkedin.md
|
|
25
27
|
```
|
|
26
28
|
|
|
29
|
+
## Directory Structure
|
|
30
|
+
|
|
31
|
+
The CLI creates a nested directory structure organized by date:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
base-path/
|
|
35
|
+
└── YYYY/ # Year folder
|
|
36
|
+
└── MM/ # Month folder
|
|
37
|
+
└── DD/ # Day folder
|
|
38
|
+
└── linkedin.md
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Example: Running the CLI on January 1, 2026 will create `2026/01/01/linkedin.md`
|
|
42
|
+
|
|
27
43
|
## License
|
|
28
44
|
|
|
29
45
|
MIT
|