commit 4296d94da2fc9860691babc6bf8888d368b1f661 from: xs date: Sat Jun 7 14:14:39 2025 UTC v0.1.6 commit - 2ae3e68f2312d7a595f76d48fe6564efac3d34d2 commit + 4296d94da2fc9860691babc6bf8888d368b1f661 blob - 6c1e44c2ddb286d956b1f74963487307f5dd539f blob + 78c437b89cdb4e4c76b26812dc34d535dbb83934 --- README.md +++ README.md @@ -118,7 +118,7 @@ prefix (part of the `site-config` file shown before): prefix install state doc -This means the functions matching `^install_.*()`, `^state_.*()` and `^doc_.*()` +This means the functions matching `^install.*()`, `^state.*()` and `^doc.*()` (the default `R7_PREFIX`) in the respective declaration order they're found in the related group file will be executed. @@ -627,7 +627,7 @@ r7 [options] [command [arguments...]] Show output interactively - **-P** - Specify a prefix + Specify a prefix, can contain whole function names - **-a** Select all available prefixes for a group command @@ -1176,7 +1176,8 @@ group-functions-all ### prefix ***Description:*** -Sets the current PREFIX for matching function names +Sets the current PREFIX for matching function names, can match for the whole +unique name in the group, for executing one specified function only ***Usage:*** ```sh blob - db3ac5100b3d5b04925554bf8a1978910b9233df blob + 83598e5c37a57ee9a16fd102967f8b80404602f9 --- index.md +++ index.md @@ -28,6 +28,7 @@ currently used as deployment and automation gear for ` - [v0.1.3](https://inda.re/r7/releases/r7-0.1.3.tar.gz) - [v0.1.4](https://inda.re/r7/releases/r7-0.1.4.tar.gz) - [v0.1.5](https://inda.re/r7/releases/r7-0.1.5.tar.gz) +- [v0.1.6](https://inda.re/r7/releases/r7-0.1.6.tar.gz) - [latest](https://inda.re/r7/releases/r7-latest.tar.gz) ## Documentation blob - 8fbd460c6c691e108cb46deb34bcc4a41ecb9e7c blob + 5dd9a4bd716ded58cd68d3742e322e876bd34a71 --- r7 +++ r7 @@ -132,7 +132,7 @@ usage options: -e Exit the group execution on the error function -p Run each host in parallel per group call -O Show output interactively - -P Prefix + -P Prefix, can contain whole function names -a Select all available prefixes for a group command -s Output-dump and summary are applied after a group command blob - 814831e3dd7cf89aa31d2ebd01134e82a643cd37 blob + e00ecdfe81e3b4b9620de9272185178d7fce6f03 --- r7.1 +++ r7.1 @@ -1,7 +1,7 @@ '\" t .\" Automatically generated by Pandoc 3.6.2 .\" -.TH "R7" "1" "Tue Jun 3 2025" "v0.1.5" "User Manual" +.TH "R7" "1" "Tue Jun 3 2025" "v0.1.6" "User Manual" .SS Tutorial .SS Introduction R7 is a configuration management framework made to configure nodes with @@ -133,8 +133,8 @@ defined prefix (part of the \f[CR]site\-config\f[R] fi prefix install state doc .EE .PP -This means the functions matching \f[CR]\[ha]install_.*()\f[R], -\f[CR]\[ha]state_.*()\f[R] and \f[CR]\[ha]doc_.*()\f[R] (the default +This means the functions matching \f[CR]\[ha]install.*()\f[R], +\f[CR]\[ha]state.*()\f[R] and \f[CR]\[ha]doc.*()\f[R] (the default \f[CR]R7_PREFIX\f[R]) in the respective declaration order they\[cq]re found in the related group file will be executed. .PP @@ -625,7 +625,7 @@ r7 [options] [command [arguments...]] .IP \[bu] 2 \f[B]\-O\f[R] Show output interactively .IP \[bu] 2 -\f[B]\-P\f[R] Specify a prefix +\f[B]\-P\f[R] Specify a prefix, can contain whole function names .IP \[bu] 2 \f[B]\-a\f[R] Select all available prefixes for a group command .IP \[bu] 2 @@ -1340,7 +1340,8 @@ group\-functions\-all .EE .SS prefix \f[B]\f[BI]Description:\f[B]\f[R] Sets the current PREFIX for matching -function names +function names, can match for the whole unique name in the group, for +executing one specified function only .PP \f[B]\f[BI]Usage:\f[B]\f[R] .IP