krz/nfogen
A scene-style ASCII .nfo generator.
clone: git clone https://gitbay.org/krz/nfogen.git
v1.0.0: nfogen.toml · raw
1group = "KRZ"
2site = "krz.sh"
3title = "nfogen 1.0"
4type = "APP"
5files = "nfogen.py"
6url = "krz.sh"
7greets = ["you", "the-scene"]
8notes = """
9A scene-style ASCII .nfo generator. A single
10zero-dependency Python file. Builds this very box
11from CLI flags, a config file, prompts, or a mix.
12
13REQUIRES python3 (3.11+ for TOML, else JSON).
14
15USAGE
16nfogen.py --title "nfogen 1.0" --type APP
17nfogen.py -c nfogen.toml --title "nfogen 1.0"
18nfogen.py -i prompts for every field.
19nfogen.py alone prompts when no title given.
20
21ORDER: config file < CLI flags < prompts.
22
23CONFIG: a .toml or .json auto-loaded from
24./nfogen.toml, ./.nfogen.toml, or the path
25~/.config/nfogen/config.toml. Holds any field
26default plus group, site, width. Or use -c PATH.
27
28FIELDS (all optional but title):
29core: title date type source size files
30url notes greets
31media: format video audio resolution
32language genre runtime
33
34OPTIONS: -o -c -g -s -w -i --no-input
35
36Generated by nfogen itself.
37"""