Alois Mahdal
61c5e18427
Do not make up FFOO_PATH--take it from mkit directly
9 years ago
Alois Mahdal
09a0a735c9
Use inigrep directly inside saturnin
... turns out it's faster (surprise! ;))
9 years ago
Alois Mahdal
5cf1e53792
Join hooks from all paths
Due to inigrep limitation, we cannot automatically cherry-pick hook.ini
based on where the hook is found--we can only have all hooks in one
file, or use join strategy.
9 years ago
Alois Mahdal
a0d7664f08
Implement support for sub-command hooks
Add section like this to hook.ini:
[hook.mycomm]
pre = echo $SATURNIN_SUBCOMMAND will run soon
pre = echo $SATURNIN_SUBCOMMAND is almost running
post = echo $SATURNIN_SUBCOMMAND has finished now
9 years ago
Alois Mahdal
dfd3810eee
Move saturnin-conf to built-in
9 years ago
Alois Mahdal
8470af0975
Improve subcommand listing for help string
9 years ago
Alois Mahdal
a3216edab4
Quote subcommand on input
9 years ago
Alois Mahdal
f9af1886a6
Fix debugging of arg list
"@" breaks the string to several arguments, which is not what we want
here
9 years ago
Alois Mahdal
f31a28509b
Add support for printing simple SemVer version number
9 years ago
Alois Mahdal
00bfb82799
Use canonical names for globals
9 years ago
Alois Mahdal
8e11223246
Exit properly if importing ffoo.sh fails
9 years ago
Alois Mahdal
3618dfe3f2
Follow symlinks when looking for dist and user paths
9 years ago
Alois Mahdal
65f8d4b68c
Move also config paths
9 years ago
Alois Mahdal
93775a243e
Use mkit from fastfoo for installation
9 years ago
Alois Mahdal
68fea49476
Add cache home (~ XDG_CACHE_HOME)
9 years ago
Alois Mahdal
ce3b94268c
Update to ffoo 0.4.0
10 years ago
Alois Mahdal
f3d3f001a1
Fix up help message
10 years ago
Alois Mahdal
b553865810
Update with new fastfoo
10 years ago
Alois Mahdal
51855e9f62
Update usage()
10 years ago
Alois Mahdal
15f5538ed1
Get rid of "ini" notation
10 years ago
Alois Mahdal
3bb0c94283
Add --version parameter
10 years ago
Alois Mahdal
c697ebcf29
Update for ffoo-0.0.16
10 years ago
Alois Mahdal
34b105b0bc
Revamp FFOO_INI_PATH logic
Config files can now be merged from 4 sources: distribution-provided,
(share folder), local (/etc/saturnin), user-specific (~/.saturnin and
~/saturnin/ini.d/*)
10 years ago
Alois Mahdal
542cab051b
Add more usage triggers
10 years ago
Alois Mahdal
7a95d78b9e
Mount command list from libexec dir
10 years ago
Alois Mahdal
3edd388149
Fix sub-command environment
Paths are transferred by saturnin meta-command so there's no need
to build sub-command binaries
10 years ago
Alois Mahdal
db545c4825
Move sub-commands to libexec
Move cub-command to libexec path to prevent calling them directly,
allowing for better control of environment.
10 years ago
Alois Mahdal
08e0051c97
Remove dangling sub-command references
10 years ago
Alois Mahdal
bf4df659a9
Clean up arg processor
10 years ago
Alois Mahdal
29fed56d0a
Allow FFOO_DEBUG and FFOO_VERBOSE to sub-processes
10 years ago
Alois Mahdal
1cea238812
Make nicer debug
10 years ago
Alois Mahdal
9c313453ee
Allow FFOO_INI_PATH in subprocesses
10 years ago
Alois Mahdal
db68ebc954
Add meta-command
10 years ago