Commit graph

6 commits

Author SHA1 Message Date
ca72ca30d0 Add add-command
This command adds a new bookmark to the database and associates any
given tags with the bookmark, adding them, if necessary, as well.
2013-03-21 22:31:42 +01:00
14aa128643 Extract parse-args from clark
Keep functions nice and small.
2013-03-21 21:39:56 +01:00
f70b12c1c9 Reorder functions, add docstring to clark 2013-03-21 21:29:43 +01:00
0e6e795681 Move intern into make-command-name 2013-03-21 21:27:17 +01:00
6d1a3b02e0 Make it do something
- Add constant `*version*' which contains the version number of the
  project.

- Change `db-connect' to `check-db'. Update to using sqlite functions
  instead of cl-sql ones.

- Move the bookmark collection loop to `get-bookmarks'.

- When starting up, if the length of args is greater than 1 check if
  the given option is a known "command" and if so, call it with the
  command line arguments (minus the first). Otherwise show all the
  bookmarks.
2013-03-21 00:54:06 +01:00
94f56cd473 Initial commit 2013-03-20 21:58:10 +01:00