@runfile/cli 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/darwin-arm64/README.md +4 -1
- package/bin/darwin-arm64/run +0 -0
- package/bin/darwin-x64/README.md +4 -1
- package/bin/darwin-x64/run +0 -0
- package/bin/linux-arm64/README.md +4 -1
- package/bin/linux-arm64/run +0 -0
- package/bin/linux-x64/README.md +4 -1
- package/bin/linux-x64/run +0 -0
- package/bin/win32-arm64/run.exe +0 -0
- package/bin/win32-x64/run.exe +0 -0
- package/package.json +1 -1
|
@@ -259,7 +259,7 @@ and work as full substitution bodies *or* as chain segments:
|
|
|
259
259
|
// trim : trim, trim_start, trim_end
|
|
260
260
|
// inspect : length, starts_with, ends_with, contains
|
|
261
261
|
// transform : escape, repeat, replace_all, remove_all
|
|
262
|
-
// regex : regex_replace, regex_remove, regex_matches, regex_capture
|
|
262
|
+
// regex : regex_replace, regex_remove, regex_matches, regex_capture, regex_capture_all
|
|
263
263
|
// build : concat, join
|
|
264
264
|
// split : nth, first, last, count_parts
|
|
265
265
|
// math : add, subtract, multiply, divide
|
|
@@ -284,6 +284,9 @@ and work as full substitution bodies *or* as chain segments:
|
|
|
284
284
|
// greedy-replace trick needed. Group 0 is the whole match; group N is the
|
|
285
285
|
// N-th `(...)`. Out-of-bounds returns "" (same convention as `nth`).
|
|
286
286
|
"echo version={{ regex_capture(read_file('app/build.gradle.kts'), 'versionName = \"([^\"]+)\"', '1') }}",
|
|
287
|
+
// Pull group N out of EVERY match and join with a separator (the "all" variant
|
|
288
|
+
// of regex_capture). Here: every quoted dependency name, comma-separated.
|
|
289
|
+
"echo deps={{ regex_capture_all(read_file('deps.txt'), 'name = \"([^\"]+)\"', '1', ',') }}",
|
|
287
290
|
// Split-by-separator scalar accessors — string in, string out, no list type:
|
|
288
291
|
// basename idiom (last segment after `/`); empty string when input ends in `/`.
|
|
289
292
|
"echo basename={{ last(ARGS.path, '/') }}",
|
package/bin/darwin-arm64/run
CHANGED
|
Binary file
|
package/bin/darwin-x64/README.md
CHANGED
|
@@ -259,7 +259,7 @@ and work as full substitution bodies *or* as chain segments:
|
|
|
259
259
|
// trim : trim, trim_start, trim_end
|
|
260
260
|
// inspect : length, starts_with, ends_with, contains
|
|
261
261
|
// transform : escape, repeat, replace_all, remove_all
|
|
262
|
-
// regex : regex_replace, regex_remove, regex_matches, regex_capture
|
|
262
|
+
// regex : regex_replace, regex_remove, regex_matches, regex_capture, regex_capture_all
|
|
263
263
|
// build : concat, join
|
|
264
264
|
// split : nth, first, last, count_parts
|
|
265
265
|
// math : add, subtract, multiply, divide
|
|
@@ -284,6 +284,9 @@ and work as full substitution bodies *or* as chain segments:
|
|
|
284
284
|
// greedy-replace trick needed. Group 0 is the whole match; group N is the
|
|
285
285
|
// N-th `(...)`. Out-of-bounds returns "" (same convention as `nth`).
|
|
286
286
|
"echo version={{ regex_capture(read_file('app/build.gradle.kts'), 'versionName = \"([^\"]+)\"', '1') }}",
|
|
287
|
+
// Pull group N out of EVERY match and join with a separator (the "all" variant
|
|
288
|
+
// of regex_capture). Here: every quoted dependency name, comma-separated.
|
|
289
|
+
"echo deps={{ regex_capture_all(read_file('deps.txt'), 'name = \"([^\"]+)\"', '1', ',') }}",
|
|
287
290
|
// Split-by-separator scalar accessors — string in, string out, no list type:
|
|
288
291
|
// basename idiom (last segment after `/`); empty string when input ends in `/`.
|
|
289
292
|
"echo basename={{ last(ARGS.path, '/') }}",
|
package/bin/darwin-x64/run
CHANGED
|
Binary file
|
|
@@ -259,7 +259,7 @@ and work as full substitution bodies *or* as chain segments:
|
|
|
259
259
|
// trim : trim, trim_start, trim_end
|
|
260
260
|
// inspect : length, starts_with, ends_with, contains
|
|
261
261
|
// transform : escape, repeat, replace_all, remove_all
|
|
262
|
-
// regex : regex_replace, regex_remove, regex_matches, regex_capture
|
|
262
|
+
// regex : regex_replace, regex_remove, regex_matches, regex_capture, regex_capture_all
|
|
263
263
|
// build : concat, join
|
|
264
264
|
// split : nth, first, last, count_parts
|
|
265
265
|
// math : add, subtract, multiply, divide
|
|
@@ -284,6 +284,9 @@ and work as full substitution bodies *or* as chain segments:
|
|
|
284
284
|
// greedy-replace trick needed. Group 0 is the whole match; group N is the
|
|
285
285
|
// N-th `(...)`. Out-of-bounds returns "" (same convention as `nth`).
|
|
286
286
|
"echo version={{ regex_capture(read_file('app/build.gradle.kts'), 'versionName = \"([^\"]+)\"', '1') }}",
|
|
287
|
+
// Pull group N out of EVERY match and join with a separator (the "all" variant
|
|
288
|
+
// of regex_capture). Here: every quoted dependency name, comma-separated.
|
|
289
|
+
"echo deps={{ regex_capture_all(read_file('deps.txt'), 'name = \"([^\"]+)\"', '1', ',') }}",
|
|
287
290
|
// Split-by-separator scalar accessors — string in, string out, no list type:
|
|
288
291
|
// basename idiom (last segment after `/`); empty string when input ends in `/`.
|
|
289
292
|
"echo basename={{ last(ARGS.path, '/') }}",
|
package/bin/linux-arm64/run
CHANGED
|
Binary file
|
package/bin/linux-x64/README.md
CHANGED
|
@@ -259,7 +259,7 @@ and work as full substitution bodies *or* as chain segments:
|
|
|
259
259
|
// trim : trim, trim_start, trim_end
|
|
260
260
|
// inspect : length, starts_with, ends_with, contains
|
|
261
261
|
// transform : escape, repeat, replace_all, remove_all
|
|
262
|
-
// regex : regex_replace, regex_remove, regex_matches, regex_capture
|
|
262
|
+
// regex : regex_replace, regex_remove, regex_matches, regex_capture, regex_capture_all
|
|
263
263
|
// build : concat, join
|
|
264
264
|
// split : nth, first, last, count_parts
|
|
265
265
|
// math : add, subtract, multiply, divide
|
|
@@ -284,6 +284,9 @@ and work as full substitution bodies *or* as chain segments:
|
|
|
284
284
|
// greedy-replace trick needed. Group 0 is the whole match; group N is the
|
|
285
285
|
// N-th `(...)`. Out-of-bounds returns "" (same convention as `nth`).
|
|
286
286
|
"echo version={{ regex_capture(read_file('app/build.gradle.kts'), 'versionName = \"([^\"]+)\"', '1') }}",
|
|
287
|
+
// Pull group N out of EVERY match and join with a separator (the "all" variant
|
|
288
|
+
// of regex_capture). Here: every quoted dependency name, comma-separated.
|
|
289
|
+
"echo deps={{ regex_capture_all(read_file('deps.txt'), 'name = \"([^\"]+)\"', '1', ',') }}",
|
|
287
290
|
// Split-by-separator scalar accessors — string in, string out, no list type:
|
|
288
291
|
// basename idiom (last segment after `/`); empty string when input ends in `/`.
|
|
289
292
|
"echo basename={{ last(ARGS.path, '/') }}",
|
package/bin/linux-x64/run
CHANGED
|
Binary file
|
package/bin/win32-arm64/run.exe
CHANGED
|
Binary file
|
package/bin/win32-x64/run.exe
CHANGED
|
Binary file
|
package/package.json
CHANGED