Alois Mahdal
2bd7a9a3ac
Relax usage_is exitting behavior
Allow usage_is caller specify exit status or suppress exit completely
10 年之前
Alois Mahdal
eddf18d6b4
Check syntax before really sourcing the file
10 年之前
Alois Mahdal
75893ddee7
Make it clear what is module name
10 年之前
Alois Mahdal
c766be2f67
Compact argument routing
10 年之前
Alois Mahdal
429722b039
Remove '--' argument
Since functions cannot start with '-' (and funky names are discouraged
anyway), it only adds more complexity to the arg router.
10 年之前
Alois Mahdal
871dfdf23f
Fork _list_functions_in for narrow listing
10 年之前
Alois Mahdal
2fe76116ce
Add notation to _parse
10 年之前
Alois Mahdal
aff7262b7f
Fix parsing of module from function spec
10 年之前
Alois Mahdal
34ce9b1266
Fix docstring typo
10 年之前
Alois Mahdal
e9ff33d2ad
Update and polish manpage
10 年之前
Alois Mahdal
61873eb636
Name test properly
10 年之前
Alois Mahdal
24d7aae078
Employ more useful (and sane) test contents
10 年之前
Alois Mahdal
389cb94782
Fix regression in path parsing (from ac1c4f1)
10 年之前
Alois Mahdal
86c2613a95
Add docstring for ini.inireader
10 年之前
Alois Mahdal
42273d60a6
Fix behavior regarding empty lines
grep at the end of main pipe ensures not only correct exit status
but also throws away empty lines--but should not do it in strict
mode.
10 年之前
Alois Mahdal
05690649e4
Compact & simplify recon.filter_hosts
10 年之前
Alois Mahdal
ac1c4f186c
Refactor ini.iniread to a more condensed & readable form
10 年之前
Alois Mahdal
e2462da481
Rename iniread tests to sane names (not testN)
10 年之前
Alois Mahdal
77a7e9a816
Add auto-symlink feature
10 年之前
Alois Mahdal
7212963d46
Markdownize docstring a little bit
10 年之前
Alois Mahdal
242a3dd421
Update __echo docstring
10 年之前
Alois Mahdal
6bf7cf8530
Bump version
10 年之前
Alois Mahdal
a5edb0e6c7
Implement docstring view
I.e. ffdoc works now.
10 年之前
Alois Mahdal
438005331f
Add possibility to print source code of a function
10 年之前
Alois Mahdal
407807c5a3
Revamp function and module listing code
Major rewrite of listing code. New version is more readable, more
usable (no need for lsfun() in ffoom now) and suports wildcards.
10 年之前
Alois Mahdal
a5e8db7273
Do not exit if we are in interactive session
Fastfoo libraries are not intended for interactive sessions (use *fff*),
we are only enabling this to aid development and testing process.
10 年之前
Alois Mahdal
dced9d0302
Bump version
10 年之前
Alois Mahdal
0216399fc1
Follow Bash vocabulary, i.e. "exit status"
10 年之前
Alois Mahdal
136ee4e2d7
Move proj_ol to rhcc
10 年之前
Alois Mahdal
7ec2d80300
Add charmenu module
Contains charmenu, a utility function to help define and utilize
interactive "character menu" as we know it from yum, apt, git and
many, many other CLI tools.
10 年之前
Alois Mahdal
ed0d23e896
Rename unnecessary *.in files to their target name
Since these files do not contain build-time anymore, they don't need to be processed by mk.sh as such, hence can have their final form
10 年之前
Alois Mahdal
5a968251e7
Fix infinite loop on unknown parameter
10 年之前
Alois Mahdal
0a1eb7ced9
Bump version
10 年之前
Alois Mahdal
8822b29c0a
Remove accidental beakerlib code
10 年之前
Alois Mahdal
379d7c69f8
Use tmp module to declare FFOO_TMP
... so that we don't have to care if other modules have already created
it (as long as our path inside it is unique)
10 年之前
Alois Mahdal
271be916f9
Add tmp module to allow for common temp dir
All this module does is create a temp directory FFOO_TMP, that can be
shared among modules. This simplifies clenanup but should be only
used very rarely and only by modules (i.e. not by user code).
10 年之前
Alois Mahdal
733ffeaccf
Reduce unnecessary debug calls
11 年之前
Alois Mahdal
5501e57239
Bump version
11 年之前
Alois Mahdal
58e3f47d7c
Echo exit status along with command output
11 年之前
Alois Mahdal
7480ac331a
Add some debug calls for tough times
11 年之前
Alois Mahdal
32efb7997b
Fix creation of temp dir for artifacts list
11 年之前
Alois Mahdal
a75b864506
Give up if target directory exists
11 年之前
Alois Mahdal
e4812ef985
Revamp collect_artifacts interface
* Support `date`'s +FORMAT notation.
* Use FFOO_TESTING_ARTIFACTS if argument not provided
11 年之前
Alois Mahdal
31700eada8
Remove osolete variable
11 年之前
Alois Mahdal
dde6085eef
Remove "dangerous" debug call
Debug calls with command line to be executed are dangerously easy
to become obsolete and misinforming. They should be only used ad-
hoc for a very short time (i.e. when debiugging the command), or
replaced by construct such as
cmd="some command --with args | maybe pipe"
debug -v cmd
$cmd
provided it's safe.
11 年之前
Alois Mahdal
fb0cf6bc6f
Fix pkg leaking to upper in stack
11 年之前
Alois Mahdal
b038055603
Fix obsolete function name
11 年之前
Alois Mahdal
8e35c50847
Make --version* matching more strict
11 年之前
Alois Mahdal
4b409f2d18
Fix version parameter parsing error
11 年之前
Alois Mahdal
b5ce19caec
Add some debug
11 年之前