Tom Willemsen
c1cbf7d59a
Add macros `with-error-status' and `with-error-and-help' that help to easily report errors to the user. The latter also calls the `help' command. All commands, when done, exit with `*exit-status*' being the status code used. The `with-error-status' macro let-binds this variable so that the command function exits with the given status code. |
||
---|---|---|
doc | ||
js | ||
lisp | ||
.gitignore | ||
COPYING | ||
Makefile | ||
README.org | ||
run-clark |
CLark
#
#
#
#
Name
clark - collect bookmarks on your command-line
Synopsis
clark
[options] [<command> [<options> …]]
Description
CLark is a bookmark collection application for the command-line. It is a drag being dependant on your browser or an internet connection to be able to collect, manage and look through your bookmarks, so we're breaking free… slowly.
CLark?! What the …?
I've been working on this program for a long time, though not very intensely, and it's gone through a few names.
At first I absolutely wanted to write it in C, and I named it
linkwave
. I made a little program that could store given URLs with
names and descriptions, but not much else than that.
Then I started messing around with Lisp and some of its
derivatives, such as chicken scheme. And then I thought it would be
much cooler to (re)write this in scheme! I named it markam
, because
Markam collects books.
Now, I'm thinking that it would be much cooler still to write the thing in Common Lisp! So I name it CLark, because it is Common Lisp, and a rewrite of mARKam.
Options
-
--script
- Change the output of some commands to be somewhat more machine-friendly, making it easier to parse the data.
Commands
-
add
- Add a new bookmark to the database.
-
edit
- Edit a bookmark's information.
-
exists
- Check if a bookmark is already present in the database.
-
help
- Prints a usage and help message, showing a list of possible commands and some hints on how to use them.
-
remove
- Remove a bookmark from the database.
-
search
- Search through the database looking for a partial match on its name or an exact-matching tag.
-
set-tags
- Replace or remove a bookmark's tags.
-
version
- Prints the CLark version and then quits.