Update examples.
This commit is contained in:
parent
2f6ab26f8c
commit
b33ef3a81c
29
README.md
29
README.md
@ -344,30 +344,27 @@ NOTE: This flexibility is not exposed in the program.
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
1. **Add** a bookmark with **tags** `linux news` and `open source`, **comment** `Informative website on Linux and open source`, **fetch page title** from the web:
|
1. **Add** a bookmark with **tags** `search engine` and `privacy`, **comment** `Alternative search engine with perks`, **fetch page title** from the web:
|
||||||
|
|
||||||
$ buku -a https://tuxdiary.com linux news, open source -c Informative website on Linux and open source
|
$ buku -a https://ddg.gg search engine, privacy -c Alternative search engine with perks
|
||||||
Title: [TuxDiary – Linux, open source, command-line, leisure.]
|
336. https://ddg.gg
|
||||||
Added at index 336
|
> DuckDuckGo
|
||||||
|
+ Alternative search engine with perks
|
||||||
336. https://tuxdiary.com
|
# privacy,search engine
|
||||||
> TuxDiary – Linux, open source, command-line, leisure.
|
|
||||||
+ Informative website on Linux and open source
|
|
||||||
# linux news,open source
|
|
||||||
where, >: title, +: comment, #: tags
|
where, >: title, +: comment, #: tags
|
||||||
2. **Add** a bookmark with tags `linux news` and `open source` & **immutable custom title** `Linux magazine`:
|
2. **Add** a bookmark with tags `search engine` & `privacy` and **immutable custom title** `DDG`:
|
||||||
|
|
||||||
$ buku -a http://tuxdiary.com linux news, open source -t 'Linux magazine' --immutable 1
|
$ buku -a https://ddg.gg search engine, privacy -t 'DDG' --immutable 1
|
||||||
336. http://tuxdiary.com (L)
|
336. https://ddg.gg (L)
|
||||||
> Linux magazine
|
> DDG
|
||||||
# linux news,open source
|
# privacy,search engine
|
||||||
Note that URL must precede tags.
|
Note that URL must precede tags.
|
||||||
3. **Add** a bookmark **without a title** (works for update too):
|
3. **Add** a bookmark **without a title** (works for update too):
|
||||||
|
|
||||||
$ buku -a http://tuxdiary.com linux news, open source -t
|
$ buku -a https://ddg.gg search engine, privacy -t
|
||||||
4. **Update** existing bookmark at index 15012014 with new URL, tags and comments, fetch title from the web:
|
4. **Update** existing bookmark at index 15012014 with new URL, tags and comments, fetch title from the web:
|
||||||
|
|
||||||
$ buku -u 15012014 --url http://tuxdiary.com/ --tag linux news, open source, magazine -c site for Linux utilities
|
$ buku -u 15012014 --url http://ddg.gg/ --tag web search, utilities -c Alternative search engine
|
||||||
5. **Fetch and update only title** for bookmark at 15012014:
|
5. **Fetch and update only title** for bookmark at 15012014:
|
||||||
|
|
||||||
$ buku -u 15012014
|
$ buku -u 15012014
|
||||||
|
12
buku.1
12
buku.1
@ -268,22 +268,22 @@ can be integrated in a GUI environment with simple tweaks. Refer to:
|
|||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
.PP
|
.PP
|
||||||
.IP 1. 4
|
.IP 1. 4
|
||||||
\fBAdd\fR a bookmark with \fBtags\fR 'linux news' and 'open source', \fBcomment\fR 'Informative website on Linux and open source', \fBfetch page title\fR from the web:
|
\fBAdd\fR a bookmark with \fBtags\fR 'search engine' and 'privacy', \fBcomment\fR 'Alternative search engine with perks', \fBfetch page title\fR from the web:
|
||||||
.PP
|
.PP
|
||||||
.EX
|
.EX
|
||||||
.IP
|
.IP
|
||||||
.B buku -a https://tuxdiary.com linux news, open source -c Informative website on Linux and open source
|
.B buku -a https://ddg.gg search engine, privacy -c Alternative search engine with perks
|
||||||
.EE
|
.EE
|
||||||
.PP
|
.PP
|
||||||
.IP "" 4
|
.IP "" 4
|
||||||
In the output, >: title, +: comment, #: tags.
|
In the output, >: title, +: comment, #: tags.
|
||||||
.PP
|
.PP
|
||||||
.IP 2. 4
|
.IP 2. 4
|
||||||
\fBAdd\fR a bookmark with tags 'linux news' and 'open source' & \fBimmutable custom title\fR 'Linux magazine':
|
\fBAdd\fR a bookmark with tags 'search engine' & 'privacy' and \fBimmutable custom title\fR 'DDG':
|
||||||
.PP
|
.PP
|
||||||
.EX
|
.EX
|
||||||
.IP
|
.IP
|
||||||
.B buku -a http://tuxdiary.com linux news, open source -t 'Linux magazine' --immutable 1
|
.B buku -a https://ddg.gg search engine, privacy -t 'DDG' --immutable 1
|
||||||
.EE
|
.EE
|
||||||
.PP
|
.PP
|
||||||
.IP "" 4
|
.IP "" 4
|
||||||
@ -294,7 +294,7 @@ Note that URL must precede tags.
|
|||||||
.PP
|
.PP
|
||||||
.EX
|
.EX
|
||||||
.IP
|
.IP
|
||||||
.B buku -a http://tuxdiary.com linux news, open source -t
|
.B buku -a https://ddg.gg search engine, privacy -t
|
||||||
.EE
|
.EE
|
||||||
.PP
|
.PP
|
||||||
.IP 4. 4
|
.IP 4. 4
|
||||||
@ -302,7 +302,7 @@ Note that URL must precede tags.
|
|||||||
.PP
|
.PP
|
||||||
.EX
|
.EX
|
||||||
.IP
|
.IP
|
||||||
.B buku -u 15012014 --url http://tuxdiary.com/ --tag linux news, open source, magazine -c site for Linux utilities
|
.B buku -u 15012014 --url http://ddg.gg/ --tag web search, utilities -c Alternative search engine
|
||||||
.EE
|
.EE
|
||||||
.PP
|
.PP
|
||||||
.IP 5. 4
|
.IP 5. 4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user