granola-cli 0.1.1 → 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 CHANGED
@@ -124,11 +124,23 @@ granola meeting list [options]
124
124
  |--------|-------------|
125
125
  | `-l, --limit <n>` | Number of meetings to show (default: 20) |
126
126
  | `-w, --workspace <id>` | Filter by workspace ID |
127
- | `-f, --folder <id>` | Filter by folder ID (requires folder support; the CLI warns if folders are unavailable) |
127
+ | `-f, --folder <id>` | Filter by folder ID |
128
+ | `-s, --search <query>` | Search in meeting titles (case-insensitive) |
129
+ | `-a, --attendee <name>` | Filter by attendee name or email (partial match) |
130
+ | `-d, --date <date>` | Filter meetings on a specific date |
131
+ | `--since <date>` | Filter meetings from date (inclusive) |
132
+ | `--until <date>` | Filter meetings up to date (inclusive) |
128
133
 
129
- **Example:**
134
+ **Date formats supported:**
135
+ - Keywords: `today`, `yesterday`, `tomorrow`
136
+ - Relative: `3 days ago`, `2 weeks ago`, `last week`, `last month`
137
+ - ISO: `2024-12-20`, `2024/12/20`
138
+ - Simple: `Dec 20`, `Dec 20 2024`, `20 Dec`
139
+
140
+ **Examples:**
130
141
 
131
142
  ```bash
143
+ # Basic listing
132
144
  $ granola meeting list --limit 5
133
145
 
134
146
  Showing 5 meetings
@@ -137,6 +149,24 @@ ID TITLE DATE
137
149
  a1b2c3d4 Q4 Planning Session Dec 18, 2025
138
150
  e5f6g7h8 1:1 with Sarah Dec 18, 2025
139
151
  i9j0k1l2 Sprint Retrospective Dec 17, 2025
152
+
153
+ # Search by title
154
+ $ granola meeting list --search "planning"
155
+
156
+ # Filter by attendee
157
+ $ granola meeting list --attendee john
158
+
159
+ # Filter by date
160
+ $ granola meeting list --date today
161
+ $ granola meeting list --date yesterday
162
+ $ granola meeting list --date "Dec 20"
163
+
164
+ # Filter by date range
165
+ $ granola meeting list --since "last week"
166
+ $ granola meeting list --since 2024-12-01 --until 2024-12-15
167
+
168
+ # Combine filters
169
+ $ granola meeting list --search standup --attendee john --since yesterday
140
170
  ```
141
171
 
142
172
  #### View meeting details
@@ -607,7 +637,19 @@ DEBUG=granola:cli:* granola meetings
607
637
 
608
638
  ```bash
609
639
  # See today's meetings
610
- granola meeting list --limit 5
640
+ granola meeting list --date today
641
+
642
+ # See yesterday's meetings
643
+ granola meeting list --date yesterday
644
+
645
+ # Find meetings from last week
646
+ granola meeting list --since "last week"
647
+
648
+ # Find all standups
649
+ granola meeting list --search standup
650
+
651
+ # Find meetings with a specific person
652
+ granola meeting list --attendee "sarah"
611
653
 
612
654
  # Review AI-enhanced summary from a meeting
613
655
  granola meeting enhanced a1b2c3d4
@@ -643,8 +685,16 @@ for id in $(granola meeting list --workspace abc12345 --output json | jq -r '.[]
643
685
  granola meeting export "$id" > "meetings/${id}.json"
644
686
  done
645
687
 
646
- # Find meetings mentioning a keyword
647
- granola meeting list --output json | jq '.[] | select(.title | test("planning"; "i"))'
688
+ # Export all meetings from last month
689
+ for id in $(granola meeting list --since "last month" --output json | jq -r '.[].id'); do
690
+ granola meeting export "$id" > "meetings/${id}.json"
691
+ done
692
+
693
+ # Find meetings with title search (built-in)
694
+ granola meeting list --search "planning"
695
+
696
+ # Find meetings with a specific attendee
697
+ granola meeting list --attendee "john.smith@example.com" --output json
648
698
  ```
649
699
 
650
700
  ### Integration with Other Tools
@@ -724,7 +774,9 @@ granola-cli/
724
774
  │ ├── api.ts # Granola API client
725
775
  │ ├── auth.ts # Credential management
726
776
  │ ├── config.ts # Configuration management
777
+ │ ├── date-parser.ts # Natural date parsing
727
778
  │ ├── debug.ts # Debug logging utilities
779
+ │ ├── filters.ts # Meeting filter utilities
728
780
  │ ├── http.ts # HTTP client with retry
729
781
  │ ├── output.ts # Table formatting
730
782
  │ ├── pager.ts # Pager integration