bearcli 1.7.1__tar.gz → 1.7.2__tar.gz

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.

Potentially problematic release.


This version of bearcli might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bearcli
3
- Version: 1.7.1
3
+ Version: 1.7.2
4
4
  Summary: The missing open-source CLI for Bear notes - read, search, export, and manage your notes from the terminal
5
5
  Keywords: bear,notes,cli,markdown,macos
6
6
  Author: Michel Tricot
@@ -12,7 +12,7 @@ Classifier: Environment :: Console
12
12
  Classifier: Operating System :: MacOS
13
13
  Classifier: Programming Language :: Python :: 3.13
14
14
  Classifier: Topic :: Utilities
15
- Requires-Dist: bearkit==1.7.1
15
+ Requires-Dist: bearkit==1.7.2
16
16
  Requires-Dist: fastmcp>=3.4.5
17
17
  Requires-Dist: textual>=8.2.8
18
18
  Requires-Dist: typer>=0.27.0
@@ -73,31 +73,40 @@ bearcli ui # full Bear client in the terminal
73
73
 
74
74
  Commands are grouped under `note` and `tag`.
75
75
 
76
+ ### Shortcuts
77
+
78
+ The most common commands are also top-level aliases:
79
+
80
+ ```sh
81
+ bearcli list # alias for `note list`
82
+ bearcli search # alias for `note search`
83
+ bearcli get # alias for `note get`
84
+ bearcli open # alias for `note open`
85
+ bearcli create # alias for `note create`
86
+ ```
87
+
76
88
  ### Browse & read
77
89
 
78
90
  ```sh
79
91
  bearcli note list # 20 most recently modified
80
- bearcli list # shortcut for `note list`
81
92
  bearcli note list --limit 5 --tag work # filters: tag (incl. nested), dates...
82
93
  bearcli note list --modified-after 2026-07-01
83
94
  bearcli note list --only pinned # or: encrypted, trashed, archived
84
95
  bearcli note list --all --trashed --archived
85
96
  bearcli note list --ids # only identifiers, one per line
86
97
 
87
- bearcli get C44D09DC # shortcut for `note get`; a unique id prefix (4+ chars) works everywhere
88
- bearcli get C44D09DC-... --meta # with YAML-style frontmatter
89
- bearcli get C44D09DC-... -r # rewrite attachment refs to absolute paths
90
- bearcli get C44D09DC-... --redact-secrets # secrets replaced by placeholders
91
- bearcli open C44D09DC-... # open in the Bear app (shortcut for `note open`)
92
- bearcli ui # Bear in the terminal: search, edit, tag
93
- bearcli stats # counts, words, top tags, notes per year
98
+ bearcli note get C44D09DC # a unique id prefix (4+ chars) works everywhere
99
+ bearcli note get C44D09DC-... --meta # with YAML-style frontmatter
100
+ bearcli note get C44D09DC-... -r # rewrite attachment refs to absolute paths
101
+ bearcli note get C44D09DC-... --redact-secrets # secrets replaced by placeholders
102
+ bearcli note open C44D09DC-... # open in the Bear app
94
103
  ```
95
104
 
96
105
  ### Search
97
106
 
98
107
  ```sh
99
- bearcli search "invoice" --tag work -n 5 # case-insensitive substring (shortcut for `note search`)
100
- bearcli search "quarterly planing" --fuzzy # typo-tolerant, ranked by score
108
+ bearcli note search "invoice" --tag work -n 5 # case-insensitive substring
109
+ bearcli note search "quarterly planing" --fuzzy # typo-tolerant, ranked by score
101
110
  ```
102
111
 
103
112
  ### Write
@@ -106,10 +115,10 @@ Writes go through the Bear app and are verified before the command reports
106
115
  success.
107
116
 
108
117
  ```sh
109
- bearcli create "Meeting notes" --text "agenda..." --tag work # shortcut for `note create`
118
+ bearcli note create "Meeting notes" --text "agenda..." --tag work
110
119
  echo "follow-up item" | bearcli note append C44D09DC-...
111
120
  bearcli note rename C44D09DC-... "New title"
112
- bearcli get C44D09DC-... | sed 's/foo/bar/' | bearcli note replace C44D09DC-...
121
+ bearcli note get C44D09DC-... | sed 's/foo/bar/' | bearcli note replace C44D09DC-...
113
122
  bearcli note attach C44D09DC-... screenshot.png # ≤500 KB
114
123
  bearcli note archive C44D09DC-...
115
124
  bearcli note trash C44D09DC-...
@@ -164,6 +173,7 @@ tab-separated `text` built for pipes.
164
173
  ```sh
165
174
  bearcli list -f json | jq -r '.[].title'
166
175
  bearcli list -f text | cut -f1 # text is: id, modified, tags, status, title
176
+ bearcli stats -f json # library totals: counts, words, top tags
167
177
  ```
168
178
 
169
179
  Dates are ISO (`2026-07-01` or `2026-07-01T14:30`). Override the database
@@ -49,31 +49,40 @@ bearcli ui # full Bear client in the terminal
49
49
 
50
50
  Commands are grouped under `note` and `tag`.
51
51
 
52
+ ### Shortcuts
53
+
54
+ The most common commands are also top-level aliases:
55
+
56
+ ```sh
57
+ bearcli list # alias for `note list`
58
+ bearcli search # alias for `note search`
59
+ bearcli get # alias for `note get`
60
+ bearcli open # alias for `note open`
61
+ bearcli create # alias for `note create`
62
+ ```
63
+
52
64
  ### Browse & read
53
65
 
54
66
  ```sh
55
67
  bearcli note list # 20 most recently modified
56
- bearcli list # shortcut for `note list`
57
68
  bearcli note list --limit 5 --tag work # filters: tag (incl. nested), dates...
58
69
  bearcli note list --modified-after 2026-07-01
59
70
  bearcli note list --only pinned # or: encrypted, trashed, archived
60
71
  bearcli note list --all --trashed --archived
61
72
  bearcli note list --ids # only identifiers, one per line
62
73
 
63
- bearcli get C44D09DC # shortcut for `note get`; a unique id prefix (4+ chars) works everywhere
64
- bearcli get C44D09DC-... --meta # with YAML-style frontmatter
65
- bearcli get C44D09DC-... -r # rewrite attachment refs to absolute paths
66
- bearcli get C44D09DC-... --redact-secrets # secrets replaced by placeholders
67
- bearcli open C44D09DC-... # open in the Bear app (shortcut for `note open`)
68
- bearcli ui # Bear in the terminal: search, edit, tag
69
- bearcli stats # counts, words, top tags, notes per year
74
+ bearcli note get C44D09DC # a unique id prefix (4+ chars) works everywhere
75
+ bearcli note get C44D09DC-... --meta # with YAML-style frontmatter
76
+ bearcli note get C44D09DC-... -r # rewrite attachment refs to absolute paths
77
+ bearcli note get C44D09DC-... --redact-secrets # secrets replaced by placeholders
78
+ bearcli note open C44D09DC-... # open in the Bear app
70
79
  ```
71
80
 
72
81
  ### Search
73
82
 
74
83
  ```sh
75
- bearcli search "invoice" --tag work -n 5 # case-insensitive substring (shortcut for `note search`)
76
- bearcli search "quarterly planing" --fuzzy # typo-tolerant, ranked by score
84
+ bearcli note search "invoice" --tag work -n 5 # case-insensitive substring
85
+ bearcli note search "quarterly planing" --fuzzy # typo-tolerant, ranked by score
77
86
  ```
78
87
 
79
88
  ### Write
@@ -82,10 +91,10 @@ Writes go through the Bear app and are verified before the command reports
82
91
  success.
83
92
 
84
93
  ```sh
85
- bearcli create "Meeting notes" --text "agenda..." --tag work # shortcut for `note create`
94
+ bearcli note create "Meeting notes" --text "agenda..." --tag work
86
95
  echo "follow-up item" | bearcli note append C44D09DC-...
87
96
  bearcli note rename C44D09DC-... "New title"
88
- bearcli get C44D09DC-... | sed 's/foo/bar/' | bearcli note replace C44D09DC-...
97
+ bearcli note get C44D09DC-... | sed 's/foo/bar/' | bearcli note replace C44D09DC-...
89
98
  bearcli note attach C44D09DC-... screenshot.png # ≤500 KB
90
99
  bearcli note archive C44D09DC-...
91
100
  bearcli note trash C44D09DC-...
@@ -140,6 +149,7 @@ tab-separated `text` built for pipes.
140
149
  ```sh
141
150
  bearcli list -f json | jq -r '.[].title'
142
151
  bearcli list -f text | cut -f1 # text is: id, modified, tags, status, title
152
+ bearcli stats -f json # library totals: counts, words, top tags
143
153
  ```
144
154
 
145
155
  Dates are ISO (`2026-07-01` or `2026-07-01T14:30`). Override the database
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "bearcli"
3
- version = "1.7.1"
3
+ version = "1.7.2"
4
4
  description = "The missing open-source CLI for Bear notes - read, search, export, and manage your notes from the terminal"
5
5
  readme = "README.md"
6
6
  keywords = ["bear", "notes", "cli", "markdown", "macos"]
@@ -18,7 +18,7 @@ license = "MIT"
18
18
  license-files = ["LICENSE"]
19
19
  requires-python = ">=3.13"
20
20
  dependencies = [
21
- "bearkit==1.7.1",
21
+ "bearkit==1.7.2",
22
22
  "fastmcp>=3.4.5",
23
23
  "textual>=8.2.8",
24
24
  "typer>=0.27.0",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes