We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e2726 commit 4cd9706Copy full SHA for 4cd9706
notes
@@ -104,6 +104,19 @@ note-add() {
104
fi
105
}
106
107
+note-import() {
108
+ toimport="$@"
109
+ notefile="`basename ${toimport}`"
110
+
111
+ get_recipient
112
113
+ if [ -f "${toimport}" ] ; then
114
+ $GPG -e -r $KEY $GPG_OPTS -o "${USE_POINTER}/${notefile}.gpg" "${notefile}"
115
+ fi
116
+}
117
118
119
120
note-view() {
121
notefile="$USE_POINTER/$@"
122
@@ -341,7 +354,12 @@ cmd_insert () {
341
354
342
355
343
356
cmd_import () {
344
- echo cmd_import will import a text file as a notE
357
+ myoptions="$@"
358
359
+ case $PROGRAM in
360
+ "notes") echo my options = ${myoptions} ; note-import $myoptions;;
361
+ "notebook") cmd_usage;;
362
+ esac
345
363
346
364
347
365
cmd_generate () {
0 commit comments