UNPKG
alfred-bear
Version:
latest (1.0.9)
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.3.7
0.3.6
0.3.5
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.0.1
Alfred Workflow to handle bear templates
github.com/jmeischner/alfred-bear
jmeischner/alfred-bear
alfred-bear
/
workflow
/
alfred
/
open.js
12 lines
(11 loc)
•
249 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
alfy
from
"alfy"
;
import
{
BearNote
}
from
"../core/BearNote.js"
;
try
{
const
note =
new
BearNote
(); note.
newWindow
= process.
env
.
newWindow
; note.
text
= process.
env
.
template
; note.
open
(); }
catch
(e) { alfy.
log
(
`
${e}
`
); }