comicbox.readinglists.cli.online ¶
The online actions: search Metron or the catalog, and fetch a list.
FetchSpec dataclass ¶
What fetch was asked for: a source kind and its id, path or URL.
Source code in comicbox/readinglists/cli/online.py
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | |
__str__() ¶
Spell it as it was given, but a URL’s user name and password.
Source code in comicbox/readinglists/cli/online.py
73 74 75 76 77 78 79 80 | |
add_online_actions(actions) ¶
Add the online actions to the parser’s subcommands.
Source code in comicbox/readinglists/cli/online.py
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | |
fetch_spec(text) ¶
Parse a database’s KIND:ID, catalog:PATH or a URL.
Source code in comicbox/readinglists/cli/online.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
open_session(run) ¶
Open a session on the command’s settings, reporting progress.
Source code in comicbox/readinglists/cli/online.py
149 150 151 152 153 154 155 | |