mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
17 lines
364 B
TypeScript
17 lines
364 B
TypeScript
|
|
|
||
|
|
import { action } from "../string_replace";
|
||
|
|
import * as st from "scripting-tools";
|
||
|
|
|
||
|
|
(async () => {
|
||
|
|
|
||
|
|
const { replace_result } = await action("string_replace", {
|
||
|
|
"input_string": "octo-computing-machine",
|
||
|
|
"search_value": "-",
|
||
|
|
"replace_value": "_"
|
||
|
|
},
|
||
|
|
{ "debug": console.log }
|
||
|
|
);
|
||
|
|
|
||
|
|
console.log({ replace_result });
|
||
|
|
|
||
|
|
})();
|