Alois Mahdal
a13a0c9ee1
Do not wrap every subcommand
Sub-commands in libexec must use saturnin_wraphook if they want pre/post
hook, or may use saturnin_runhook to run their own hooks as they wish.
9 년 전
Alois Mahdal
cf82cfa5f1
Move pre-post-hook wrapping code to a routine
9 년 전
Alois Mahdal
6abb8c6621
Move common saturnin routines to a module
This module is intended to be moved around with saturnin, but unlike
main meta-command (bin/saturnin.skel), it should not be necessary to
rename it or edit to adapt to new project.
9 년 전
Alois Mahdal
066c22b204
Fortify hook routine
Add checks for syntax errors and missing SATURNIN_SUBCOMMAND. In both
cases, ignore the hook.
9 년 전
Alois Mahdal
89b98a72f9
Update forgotten layout setting command
9 년 전
Alois Mahdal
c80c7d4a00
Use inigrep__mkpath to assemble FFOO_INIGREP_PATH
Minimize the "built part" and code repetition among saturnin "clones".
9 년 전
Alois Mahdal
ad3a74047a
Move colon delimiting to generator
9 년 전
Alois Mahdal
10281e34c2
Fix argument debug
9 년 전
Alois Mahdal
e138ad678b
Add query subcommand (only is_muted supported so far)
9 년 전
Alois Mahdal
a1d856c956
Avoid using multi-line values for style items
9 년 전
Alois Mahdal
1303a48cfa
Add internal (plumbing) ffrun wrapper
To allow for experimenting with functions from embedded library.
9 년 전
Alois Mahdal
7f630aeb92
Add internal (plumbing) commands from ffoom
This should help test and manage embedded Fastfoo library
9 년 전
Alois Mahdal
b2eb405f21
Fix confusing docstring
10 년 전
Alois Mahdal
4494cc4dad
Move clip selection to separate function
10 년 전
Alois Mahdal
78d5768ed8
Merge mkusage calls
mkusage exits by default so it's intended to exist as one call per
process only.
10 년 전
Alois Mahdal
3d7aab77f2
Port to ffoo v0.8: usage_is renamed
10 년 전
Alois Mahdal
47bfddf9f3
Port to ffoo v0.8: config.sh renamed
10 년 전
Alois Mahdal
98da2f27f8
Fall back to default mode if not specified in INI
If for certaiun group a mode is not specified, fall back to
a value inhertited from environment, or eventually to 644.
10 년 전
Alois Mahdal
8aa0b33a9e
Add bash completion module
10 년 전
Alois Mahdal
61c7eb02e1
Make use of FFOO_PRETTY_USAGE mode
10 년 전
Alois Mahdal
6af447c64f
Add internal subcommand _ls_subcommands
10 년 전
Alois Mahdal
12b62db27a
Port to ffoo v0.8: exit.sh renamed
10 년 전
Alois Mahdal
6f23cfc46e
Explicitly sort modules (by C locale)
10 년 전
Alois Mahdal
2bf4170cd7
Move out routine to find sub-modules
10 년 전
Alois Mahdal
84b11f1ffa
Use more informative function name
10 년 전
Alois Mahdal
1b7d7e32f1
Tidy up variable setting code
* Add docstring,
* add explanations for local variable names,
* separate export declarations,
* sort globals alphabetically,
* add built part delimiters,
* quote paths properly.
10 년 전
Alois Mahdal
61c5e18427
Do not make up FFOO_PATH--take it from mkit directly
10 년 전
Alois Mahdal
0ec0029109
Update mkit
10 년 전
Alois Mahdal
77dd7abee3
Rename variable to reflect the path is being provided by saturnin
10 년 전
Alois Mahdal
e4cc2d414f
Use consistent format in config.mk
10 년 전
Alois Mahdal
09a0a735c9
Use inigrep directly inside saturnin
... turns out it's faster (surprise! ;))
10 년 전
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.
10 년 전
Alois Mahdal
6279892bdf
Use custom name for tempdir
10 년 전
Alois Mahdal
450c42636d
Remove debug pipes for production
10 년 전
Alois Mahdal
6f16e8862b
Bump version
10 년 전
Alois Mahdal
eaf094fe08
Remove irrelevant sub-command `ip`
Conventional ip wrapper -- not desktop-related.
10 년 전
Alois Mahdal
5f91e14199
Remove irrelevant sub-command `watch`
A debugging utility -- not desktop-related.
10 년 전
Alois Mahdal
ccdec63cb0
Remove irrelevant sub-command `czrates`
Conventional curl wrapper -- not desktop-related.
10 년 전
Alois Mahdal
477667748b
Remove irrelevant sub-command `push`
Conventional rsync wrapper -- not desktop-related.
10 년 전
Alois Mahdal
0e5cacf22a
Remove irrelevant sub-command `revert`
Conventional virsh wrapper -- not desktop-related.
10 년 전
Alois Mahdal
d2eef199be
Bump version
10 년 전
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
10 년 전
Alois Mahdal
dfd3810eee
Move saturnin-conf to built-in
10 년 전
Alois Mahdal
8470af0975
Improve subcommand listing for help string
10 년 전
Alois Mahdal
a3216edab4
Quote subcommand on input
10 년 전
Alois Mahdal
f9af1886a6
Fix debugging of arg list
"@" breaks the string to several arguments, which is not what we want
here
10 년 전
Alois Mahdal
269a1590ae
Bump version
10 년 전
Alois Mahdal
20fb50dd2c
Move keyboard layout control to saturnin-kb
An improved version of previous code
10 년 전
Alois Mahdal
6a6a9770d5
Move volume control to separate subcommand
10 년 전
Alois Mahdal
9eb2797a45
Update to Fastfoo API v0.7.0
10 년 전