readr-cli 1.0.2 → 1.0.3

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 CHANGED
@@ -11,13 +11,13 @@ npm install -g readr-cli
11
11
  ## Usage
12
12
 
13
13
  ```bash
14
- reading add # Add a new book
15
- reading start # Start a reading session
16
- reading pause # Pause or resume current session
17
- reading stop # End session & log pages read
18
- reading list # All books with progress & ETA
19
- reading stats # Overall reading statistics
20
- reading help # Show help
14
+ readr add # Add a new book
15
+ readr start # Start a reading session
16
+ readr pause # Pause or resume current session
17
+ readr stop # End session & log pages read
18
+ readr list # All books with progress & ETA
19
+ readr stats # Overall reading statistics
20
+ readr help # Show help
21
21
  ```
22
22
 
23
23
  ## Features
package/dist/index.js CHANGED
@@ -177,13 +177,13 @@ function showHelp() {
177
177
  header();
178
178
  console.log(chalk.bold(' Commands:\n'));
179
179
  const cmds = [
180
- ['reading add', 'Add a new book'],
181
- ['reading start', 'Start a reading session'],
182
- ['reading pause', 'Pause or resume current session'],
183
- ['reading stop', 'End session & log pages read'],
184
- ['reading list', 'List all books with progress'],
185
- ['reading stats', 'Overall reading statistics'],
186
- ['reading help', 'Show this help'],
180
+ ['readr add', 'Add a new book'],
181
+ ['readr start', 'Start a reading session'],
182
+ ['readr pause', 'Pause or resume current session'],
183
+ ['readr stop', 'End session & log pages read'],
184
+ ['readr list', 'List all books with progress'],
185
+ ['readr stats', 'Overall reading statistics'],
186
+ ['readr help', 'Show this help'],
187
187
  ];
188
188
  for (const [cmd, desc] of cmds) {
189
189
  console.log(` ${chalk.bold.green(cmd.padEnd(14))} ${chalk.gray(desc)}`);
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "readr-cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Beautiful CLI to track reading sessions, speed, and book completion ETA",
5
5
  "type": "module",
6
6
  "bin": {
7
- "reading": "./dist/index.js"
7
+ "readr": "./dist/index.js"
8
8
  },
9
9
  "scripts": {
10
10
  "dev": "tsx src/index.ts",