Commit graph

21 commits

Author SHA1 Message Date
c442bbfe95 Add sql macro
This gives SQL queries a little more Lisp-y feel and allows for better
formatting of the code written.
2013-03-30 15:46:54 +01:00
933a51ed70 Change order of script output
The order of parameters for `--script' and without it was different,
to keep things simple these should be the same.
2013-03-28 00:52:48 +01:00
dfd6f71c4d Clarify defcommand
Writing a command like with a normal labmda-list to indicate
parameters is much clearer than using an `args' parameter that
semmingly comes out of nowhere.
2013-03-28 00:39:29 +01:00
ac7d882292 Print to *error-output* when an error occurs 2013-03-27 21:38:15 +01:00
30acc48afd Load an init file at startup
With this init file one can change certain defaults, and define their
own commands.
2013-03-24 21:57:59 +01:00
eabe0f3978 Update the help messages to include the option
The `--script' option was not yet documented in the help message.
2013-03-23 20:58:00 +01:00
9d5973a022 Simplify usage of call-command 2013-03-23 20:57:13 +01:00
e41bb3a930 Add remove command
Removes a bookmark from the database.
2013-03-23 20:52:49 +01:00
280769a222 Add set-tags command
The set-tags command clears any tags for the bookmark, and then adds
the ones given.
2013-03-23 20:46:19 +01:00
e94a9ac013 Add edit command
Allows one to edit the name and description of a bookmark.
2013-03-23 19:25:28 +01:00
d1eb7d4c37 Check argument numbers for each command
This should keep error conditions from being signalled when someone
enters the wrong number of arguments.
2013-03-23 18:40:54 +01:00
3b165c81d9 Add --script option
When passing in the --script option all output will be formatted in a
machine-readable way.
2013-03-23 17:58:31 +01:00
50bb0f58ea Simplify get-bookmarks 2013-03-23 17:57:35 +01:00
2a37c88b34 Fix typo 2013-03-23 16:53:08 +01:00
977627a8af Simplify the exists command 2013-03-23 16:50:18 +01:00
fdce2ed81c Hide command detail
Hide the fact that a command is just of the form NAME-command by
abstracting it away into a macro.
2013-03-23 16:37:41 +01:00
c7f9d27638 Improve help messages
The `help' command can now be used to view help about other commands.
2013-03-23 16:31:22 +01:00
cbe1830f83 Add exists command
This command shows whether or not the given url is known to CLark.
2013-03-23 13:38:19 +01:00
dd47751a43 Place the database in XDG_DATA_HOME if possible 2013-03-23 13:24:43 +01:00
0b3e5c09d3 Add GPLv3 license info 2013-03-23 00:51:31 +01:00
02be3af2fd Move lisp sources to lisp/ 2013-03-23 00:15:52 +01:00
Renamed from clark.lisp (Browse further)