• w-e-w's avatar
    re-work multi --styles-file · 25e8273d
    w-e-w authored
    --styles-file change to append str
    --styles-file is [] then defaults to [styles.csv]
    
    --styles-file accepts paths or paths with wildcard "*"
    
    the first `--styles-file` entry is use as the default styles file path
    if filename a wildcard then the first matching file is used
    if no match is found, create a new "styles.csv" in the same dir as the first path
    
    when saving a new style it will be save in the default styles file
    when saving a existing style, it will be saved to file it belongs to
    
    order of the styles files in the styles dropdown can be controlled to a certain degree by the order of --styles-file
    25e8273d
shared.py 2.48 KB