Commit Graph

36 Commits (60ac8116aa04523812221d507aefc777573ee1b7)

Author SHA1 Message Date
voussoir 60ac8116aa
Add delete command. 2021-01-28 17:03:19 -08:00
voussoir c4ea7c31ac
Add my usual format handler to logger under etq_cli. 2021-01-28 16:54:35 -08:00
voussoir bf601d7ab1
Pass LOG_LEVEL to closest_photodb. 2021-01-24 21:38:59 -08:00
voussoir 16f2517ca9 Add some example invocations to the helptext. 2021-01-15 00:34:15 -08:00
voussoir c3ec4f06a3 Improve "Try etiquette_cli init" message. 2021-01-15 00:02:24 -08:00
voussoir e5be26f8b0 Add PhotoDB.closest_photodb for frontend instantiation. 2021-01-09 15:42:16 -08:00
voussoir d1148d85db A few linting fixes. 2021-01-05 17:35:10 -08:00
voussoir 79c6af5d9b Add relocate command. 2021-01-03 02:58:18 -08:00
voussoir 9d048a5d88 Improve export_symlinks. 2021-01-01 17:02:03 -08:00
voussoir 94130e4803 Add betterhelp docstring. 2021-01-01 17:02:00 -08:00
voussoir 84b35c3eaa Only purge deleted files, empty albums within the cwd. 2021-01-01 17:02:00 -08:00
voussoir 968d84b3cb Add export_symlinks command. 2021-01-01 17:02:00 -08:00
voussoir 6522bda09c Add basename in separate column so we can orderby it.
For a while I've wanted to be able to sort search results by the file's
basename. This is especially important for the cli. SQLite doesn't have
an easy way to split the filepath column by the slash, so the only
choice is to store basename as a separate column. I put it off for a
while but I think it's the right move. However we must not forget to
update it every time we update filepath, which is a bummer.
2021-01-01 17:02:00 -08:00
voussoir 017633331b Fix yield photo should only happen when not exception. 2020-12-30 15:50:29 -08:00
voussoir 023c540dbf Fix init command, should create _etiquette directory. 2020-12-30 15:50:29 -08:00
voussoir aa3bc2d100 Rename purge_deleted_photos -> purge_deleted_files. 2020-12-30 15:50:23 -08:00
voussoir a91366149b Transition calls to getpermission to interactive. 2020-12-07 00:54:53 -08:00
voussoir a604cfa5cd Add alias tag-breplace. 2020-11-27 15:40:13 -08:00
voussoir 1cf6e64bfa Add remove_tag command. 2020-11-27 15:39:58 -08:00
voussoir 469103e0ac Use voussoirkit.stringtools for comma_space_split. 2020-11-15 22:20:36 -08:00
voussoir f112a3d041 Add support for file glob patterns in add_tag command. 2020-11-15 22:20:30 -08:00
voussoir a1fd6c26c5 Add show_associated_directories command. 2020-11-15 17:49:28 -08:00
voussoir 010c92cb73 Set photodb log_level from argv. 2020-11-08 20:20:04 -08:00
voussoir 5792c3bdcf Let set_searchhidden take no params, and simplify duplicate checks. 2020-11-05 18:22:19 -08:00
voussoir e80f27e1fd Fix excplicit yield_photos, yield_albums in search_in_cwd. 2020-11-05 18:21:33 -08:00
voussoir d2b6aebee5 Add init, set/unset searchhidden, add_tag commands. 2020-11-03 00:07:29 -08:00
voussoir 51fa9aac46 Alphabetize p_tag_breplace. 2020-10-25 20:21:27 -07:00
voussoir dd581a8274 Add easybake command. 2020-10-17 19:18:25 -07:00
voussoir a463e5451b Move tag_breplace_argparse to alphabetical order. 2020-10-17 19:12:22 -07:00
voussoir fc894bcd17 Add purge_deleted_photos, purge_empty_albums. 2020-09-30 13:44:09 -07:00
voussoir 0ec072c797 Add breplace. 2020-09-29 18:08:04 -07:00
voussoir 7d2e5bd9a9 Add digest_directory. 2020-09-28 14:28:15 -07:00
voussoir b9f4b2cf38 Pull out search_by_argparse into own function. 2020-09-28 14:25:10 -07:00
voussoir 3e33285cff Add separate argument buckets so any subparser can search. 2020-09-28 14:24:17 -07:00
voussoir 3738a60195 Cache photodbs throughout runtime. 2020-09-28 14:22:28 -07:00
voussoir 454693f1dc Add etiquette_cli.py.
Just enough to pique your interest.
2020-09-27 10:57:31 -07:00