trello-cli-unofficial 0.8.0 โ 0.8.1
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 +58 -9
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -22,29 +22,70 @@ An unofficial Trello CLI using Power-Up authentication, built with Bun for maxim
|
|
|
22
22
|
- ๐ ๏ธ **Traditional CLI**: Also works as a command-line tool
|
|
23
23
|
- ๐ **Internationalization**: Support for Portuguese (pt-BR) and English (en) with auto-detection
|
|
24
24
|
- ๐ค **Automated CI/CD**: Semantic versioning and NPM publishing on every release
|
|
25
|
-
-
|
|
26
|
-
-
|
|
25
|
+
- ๐งช **Quality Gates**: 95% test coverage threshold enforced in CI/CD
|
|
26
|
+
- ๐ **Secure Publishing**: NPM provenance with GitHub Actions OIDC
|
|
27
27
|
|
|
28
28
|
## ๐ฆ Installation
|
|
29
29
|
|
|
30
30
|
### Prerequisites
|
|
31
31
|
|
|
32
|
-
- [Bun](https://bun.sh/) or Node.js installed
|
|
32
|
+
- **[Bun](https://bun.sh/) (Recommended)** or **Node.js 16+** installed
|
|
33
33
|
- Trello account with Power-Up enabled
|
|
34
|
+
- **Supported Platforms:** Linux, macOS, Windows
|
|
35
|
+
|
|
36
|
+
**Note:** Bun provides better performance, but Node.js works perfectly fine.
|
|
34
37
|
|
|
35
38
|
### NPM Installation (Recommended)
|
|
36
39
|
|
|
40
|
+
The CLI works with both Bun and Node.js. Choose the package manager you prefer:
|
|
41
|
+
|
|
37
42
|
```bash
|
|
38
|
-
#
|
|
43
|
+
# Option 1: Using NPM (works with both Bun and Node.js)
|
|
44
|
+
npm install -g trello-cli-unofficial
|
|
45
|
+
|
|
46
|
+
# Option 2: Using Bun (recommended for better performance)
|
|
47
|
+
bun add -g trello-cli-unofficial
|
|
48
|
+
|
|
49
|
+
# Option 3: Using Yarn
|
|
50
|
+
yarn global add trello-cli-unofficial
|
|
51
|
+
|
|
52
|
+
# Option 4: Using PNPM
|
|
53
|
+
pnpm add -g trello-cli-unofficial
|
|
54
|
+
|
|
55
|
+
# Verify installation
|
|
56
|
+
tcu --version
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
#### Windows Installation
|
|
60
|
+
|
|
61
|
+
For Windows users, you can install using any package manager:
|
|
62
|
+
|
|
63
|
+
**PowerShell (Recommended):**
|
|
64
|
+
```powershell
|
|
65
|
+
# Using NPM (works with both Node.js and Bun)
|
|
39
66
|
npm install -g trello-cli-unofficial
|
|
40
67
|
|
|
41
|
-
# Or using Bun
|
|
68
|
+
# Or using Bun (recommended for better performance)
|
|
42
69
|
bun add -g trello-cli-unofficial
|
|
43
70
|
|
|
71
|
+
# Or using Yarn
|
|
72
|
+
yarn global add trello-cli-unofficial
|
|
73
|
+
|
|
74
|
+
# Verify installation
|
|
75
|
+
tcu --version
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**Command Prompt:**
|
|
79
|
+
```cmd
|
|
80
|
+
# Using NPM
|
|
81
|
+
npm install -g trello-cli-unofficial
|
|
82
|
+
|
|
44
83
|
# Verify installation
|
|
45
84
|
tcu --version
|
|
46
85
|
```
|
|
47
86
|
|
|
87
|
+
**Note:** On Windows, you may need to restart your terminal or run `refreshenv` in PowerShell after installation to update your PATH.
|
|
88
|
+
|
|
48
89
|
### Manual Installation (Development)
|
|
49
90
|
|
|
50
91
|
```bash
|
|
@@ -161,7 +202,7 @@ changeLanguage("pt-BR");
|
|
|
161
202
|
changeLanguage("en");
|
|
162
203
|
```
|
|
163
204
|
|
|
164
|
-
##
|
|
205
|
+
## ๐ Usage
|
|
165
206
|
|
|
166
207
|
### Interactive Mode (Recommended)
|
|
167
208
|
|
|
@@ -352,9 +393,17 @@ bun run lint
|
|
|
352
393
|
|
|
353
394
|
### Installation Issues
|
|
354
395
|
|
|
355
|
-
- Ensure Bun or Node.js is installed
|
|
356
|
-
- Try `npm install -g trello-cli-unofficial` if Bun fails
|
|
357
|
-
- Check that `tcu` command is in your PATH
|
|
396
|
+
- **Runtime Required:** Ensure Bun or Node.js 16+ is installed
|
|
397
|
+
- **Package Manager Fallback:** Try `npm install -g trello-cli-unofficial` if Bun fails
|
|
398
|
+
- **PATH Issues:** Check that `tcu` command is in your PATH
|
|
399
|
+
- **Permission Issues:** Try running as administrator/sudo
|
|
400
|
+
|
|
401
|
+
#### Windows-specific Issues
|
|
402
|
+
|
|
403
|
+
- **PATH not updated:** Restart your terminal or run `refreshenv` in PowerShell
|
|
404
|
+
- **Permission errors:** Run PowerShell/Command Prompt as Administrator
|
|
405
|
+
- **Node.js version:** Ensure you have Node.js 16+ or Bun 1.0+
|
|
406
|
+
- **Antivirus blocking:** Some antivirus software may block global NPM installations
|
|
358
407
|
|
|
359
408
|
## ๐ค Contributing
|
|
360
409
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trello-cli-unofficial",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Unofficial Trello CLI using Power-Up authentication, built with Bun for maximum performance",
|
|
7
7
|
"author": "Matheus Caiser <matheus.kaiser@gmail.com> (https://www.mrdeveloper.com.br/)",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
],
|
|
27
27
|
"module": "main.ts",
|
|
28
28
|
"bin": {
|
|
29
|
-
"trello-cli-unofficial": "./main.
|
|
30
|
-
"tcu": "./main.
|
|
29
|
+
"trello-cli-unofficial": "./dist/main.js",
|
|
30
|
+
"tcu": "./dist/main.js"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public",
|
|
@@ -47,7 +47,8 @@
|
|
|
47
47
|
"src"
|
|
48
48
|
],
|
|
49
49
|
"engines": {
|
|
50
|
-
"bun": ">=1.0.0"
|
|
50
|
+
"bun": ">=1.0.0",
|
|
51
|
+
"node": ">=16.0.0"
|
|
51
52
|
},
|
|
52
53
|
"scripts": {
|
|
53
54
|
"start": "bun run main.ts",
|