2013-03-23 00:43:44 +01:00
|
|
|
# Copyright (C) 2013 Tom Willemsen <tom at ryuslash dot org>
|
|
|
|
#
|
|
|
|
# This file is part of CLark
|
|
|
|
#
|
|
|
|
# CLark is free software: you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# CLark is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with CLark. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2013-03-22 02:44:09 +01:00
|
|
|
#+TITLE: CLark
|
2013-03-23 00:43:44 +01:00
|
|
|
#+STARTUP: showall
|
2013-03-22 02:44:09 +01:00
|
|
|
|
2013-04-07 03:48:21 +02:00
|
|
|
* NAME
|
2013-03-22 02:44:09 +01:00
|
|
|
|
2013-04-07 03:48:21 +02:00
|
|
|
CLark - collect bookmarks on your command-line
|
2013-03-22 02:44:09 +01:00
|
|
|
|
2013-04-07 03:48:21 +02:00
|
|
|
* SYNOPSIS
|
2013-03-22 02:44:09 +01:00
|
|
|
|
2013-04-07 03:48:21 +02:00
|
|
|
=clark [<options>...] [<command> [<options>...] [<arguments>...]]=
|
2013-03-22 02:44:09 +01:00
|
|
|
|
2013-04-07 03:48:21 +02:00
|
|
|
* DESCRIPTION
|
2013-03-22 02:44:09 +01:00
|
|
|
|
2013-04-07 03:48:21 +02:00
|
|
|
CLark is a bookmarking program for the command-line. It is meant to
|
|
|
|
interface with other programs to make its use easy, whilst remaining
|
|
|
|
free of being locked in to any single browser or program (except for
|
|
|
|
itself). This should allow you to keep your bookmarks in a single,
|
|
|
|
easily accessible, place regardles of which browser you use at any
|
|
|
|
moment.
|
2013-03-22 02:44:09 +01:00
|
|
|
|
|
|
|
** 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.
|
|
|
|
|
2013-04-07 03:48:21 +02:00
|
|
|
* COMMANDS
|
2013-03-23 21:36:30 +01:00
|
|
|
|
2013-04-07 03:48:21 +02:00
|
|
|
Each command has it's own arguments and description, to see:
|
|
|
|
#+BEGIN_EXAMPLE
|
|
|
|
clark help <command>
|
|
|
|
#+END_EXAMPLE
|
2013-03-22 02:44:09 +01:00
|
|
|
|
2013-03-23 21:36:30 +01:00
|
|
|
- =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.
|
|
|
|
|
2013-03-22 02:44:09 +01:00
|
|
|
- =help= :: Prints a usage and help message, showing a list of
|
2013-04-07 03:48:21 +02:00
|
|
|
possible commands and some hints on how to use them. Can
|
|
|
|
also show help messages for individual commands.
|
2013-03-22 02:44:09 +01:00
|
|
|
|
2013-03-23 21:36:30 +01:00
|
|
|
- =remove= :: Remove a bookmark from the database.
|
2013-03-22 02:44:09 +01:00
|
|
|
|
2013-04-07 03:48:21 +02:00
|
|
|
- =search= :: Search through bookmarks for a certain title or tag.
|
2013-03-23 21:36:30 +01:00
|
|
|
|
|
|
|
- =set-tags= :: Replace or remove a bookmark's tags.
|
|
|
|
|
2013-04-07 03:48:21 +02:00
|
|
|
- =version= :: Print CLark's version.
|
|
|
|
|
|
|
|
* OPTIONS
|
|
|
|
|
|
|
|
Command-line options can be passed to CLark with either =-= or =--=.
|
|
|
|
|
|
|
|
- =script= :: Change the output of some commands to be somewhat more
|
|
|
|
machine-friently, making it easier to parse the data.
|