Commit Graph

16 Commits (416f733af3119496433ac6b432c670ff4195c5b5)

Author SHA1 Message Date
Lertsenem 37051f1f15 Add template-options argument
For now, we just pass a link of keywords as a template context element.
2020-07-25 14:51:10 +02:00
Lertsenem f807cf9c6f Fix str-to-pathlib conversion issues 2020-07-22 20:29:23 +02:00
Lertsenem f887f5fd84 Use pathlib and appdirs modules
Better cross-OS support of paths and config/cache dirs.
2020-07-22 18:04:13 +02:00
Lertsenem 2ea7b3afc4 Refactor arguments parsing
And change some defaults
2020-07-21 00:35:56 +02:00
Lertsenem 8b61e6b8a6 Add ROOTDIR constant
Replaces the unimplemented args.rootdir
2020-07-21 00:34:07 +02:00
Lertsenem 6e2d697e12 Fix imports for setuptools 2020-07-20 23:54:32 +02:00
Lertsenem 7bd09dc959 Add support for playersinks db
Select a default skin depending on the player tag and the character
name.
2020-07-20 18:44:49 +02:00
Lertsenem 3d7509e639 Add --name-seo-delimiter option 2020-07-19 22:26:34 +02:00
Lertsenem bef3d1b7b7 Add a new init subcommand
To download resources.
2020-07-19 17:04:58 +02:00
Lertsenem 4714071968 Add lkrz file loading
Should you need to modify the lkrz file by hand and regenerate the
outfile hereafter.
2020-07-09 15:24:08 +02:00
Lertsenem 1272a64d54 Add export submodule to handle output
This submodule will handle saving the outfile to whatever format you
want.

For now, it can save in svg (default), png using inkscape, png, pdf or
ps using cairosvg.
2020-07-09 14:31:22 +02:00
Lertsenem 0f8d64a091 Change arguments for dir path
Now :
- rootdir is the directory all the img paths will be relative to ;
  defaults to '.'
- imgdir is the directory containing all required images ; defaults to
  'res/ssbu'. It is expected to hold a 'chars' directory
2020-07-09 10:19:03 +02:00
Lertsenem 05cb2fa1e9 Add context and fix typos for template generation 2020-07-08 07:53:21 +02:00
Lertsenem dccde354bd First kinda working version
We can download the infos from smash.gg, but the SVG generation fails
for now.
2020-07-07 16:13:56 +02:00
Lertsenem 6da2b5e27c Add basic argument parsing in main 2020-07-07 01:54:42 +02:00
Lertsenem 1423716f0e Initial Commit 2020-07-04 19:46:35 +02:00