this is an application I am coding with Claude.

The goal of the application is to manage the import and management of comics into Komga.

I pilot the development of the software via a dialog with Claude on the Comic file manager app PRD ([[Product Requirement Document]])

I started by stating the need of a comics file manager.

moving files to the mini
`mv comics-file.cbr /home/pygenot/.local/share/clm/mnt/mini/00_imports/1-updates/`

I made a CR for it and it got implemented

# Where is the app located

the app resides in `/home/pygenot/Work/Apps/comicsLibraryManager`

# Development

point to `~/Work/Apps/comicsLibraryManager`
launch `cx`
when development is done, need to commit and run `make install` to deploy the new version
# Usage

``` bash
./clm --help
Usage: clm [options] <command> [args...]

Commands:
  init [dir]         Create the config: the library and the staging folder
  mount, unmount     Mount or unmount remote folders (see 'clm init --help')
  scan [paths...]    Build or refresh the index of the library
  list               List series, or the issues of a series
  search <words...>  Find files by series, title or publisher
  missing [series]   Report gaps in issue numbering
  stats              Show counts and sizes
  open <words...>    Open an issue in your reader
  browse [words...]  Pick a comic from a list with cover previews, and open it
  cover <file>       Extract the cover image of a comic
  tag <files...>     Write ComicInfo.xml into CBZ files
  rename [paths...]  Rename files to the filename template
  organize [paths...]
                     Move files into the folder template
  upload [paths...]  Move comics from your download folder to the staging folder
  import [ids|paths] Move comics from the staging folder into the library
  staging            Show what is waiting in the staging folder
  delete <ids>       Remove files from the staging folder, to the trash
  convert [paths...] Repack CBR, CB7 and CBT archives as CBZ
  fix-ext [paths...] Correct extensions that do not match the real format
  dupes              Report duplicate files
  undo               Revert the most recent operation that changed the library
  trash [list|empty] Show or empty the library's trash
  clean [paths...]   Delete orphan macOS companion files (._name)
  alias [set|remove] List or change which folder a publisher is filed under
  library [list|add|default|remove]
                     List, create, choose the default of, or forget libraries
  info <file|ids>... Show format, size, page count and checksum of a file
  verify [paths...]  Test archive integrity
  doctor             Report which dependencies are available

Options:
  -n, --dry-run      Print planned actions, change nothing
  -y, --yes          Skip confirmation prompts
  -q, --quiet        Only print errors
  -v, --verbose      Print extra detail
      --format <f>   Output format: table, tsv or json
                     (default: table on a terminal, tsv when piped)
      --no-color     Disable colour (NO_COLOR is honoured too)
      --pick         Choose the comics from a list (fzf) instead of naming
                     them: Tab marks several, Enter takes them. For import,
                     delete, missing (the staging listing), rename,
                     organize, verify, fix-ext (the library), and convert,
                     tag, info (the library, or with --staging the listing)
  -L, --use <name>   Work on the library of that name (default: the one
                     set with 'clm library default', else 'main')
  -c, --config <f>   Use an alternate config file
  -j, --jobs <n>     Parallel workers (default: number of CPUs)
  -h, --help         Show help for clm or for a command
      --version      Show the version

Exit codes: 0 success, 1 error, 2 usage error, 3 missing dependency,
4 partial success (some files skipped or failed), 5 the library is on
another machine and cannot be reached.
```

---
Tags:: #software #claude
Up:: [[Stuff I build]]
Hub:: [[📇 Softwares]]