You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLI_GUIDE.md
+78Lines changed: 78 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,78 @@ npm run cli -- --help
37
37
|`build:test`| Test build functionality |`npm run build:test`|
38
38
|`test:cli`| Run CLI integration tests |`npm run test:cli`|
39
39
40
+
## 📋 List Command Deep Dive
41
+
42
+
### Overview
43
+
44
+
The list command provides discovery and exploration of configuration packages stored in the Taptik cloud. It allows users to browse, filter, and sort available configurations through an intuitive command-line interface.
45
+
46
+
### Basic Usage
47
+
48
+
```bash
49
+
# List all public configurations
50
+
npm run cli -- list
51
+
52
+
# Filter configurations by title
53
+
npm run cli -- list --filter "frontend"
54
+
npm run cli -- list --filter "typescript"
55
+
56
+
# Sort configurations
57
+
npm run cli -- list --sort date # Sort by creation date (default)
58
+
npm run cli -- list --sort name # Sort alphabetically by title
59
+
60
+
# Limit results
61
+
npm run cli -- list --limit 10 # Show 10 results
62
+
npm run cli -- list --limit 50 # Show 50 results (max: 100)
63
+
64
+
# Combine options
65
+
npm run cli -- list --filter "react" --sort name --limit 20
66
+
```
67
+
68
+
### Subcommands
69
+
70
+
#### Liked Configurations
71
+
72
+
```bash
73
+
# List configurations you've liked (requires authentication)
74
+
npm run cli -- list liked
75
+
npm run cli -- list liked --sort date --limit 10
76
+
```
77
+
78
+
### Command Options
79
+
80
+
| Option | Description | Default | Example |
81
+
|--------|-------------|---------|---------|
82
+
|`--filter <query>`| Filter by configuration title | None |`--filter "frontend"`|
83
+
|`--sort <field>`| Sort by date or name |`date`|`--sort name`|
0 commit comments