fix: Rename freeflowuniverse to incubaid
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
|
||||
Tool to flexibly replace elements in file(s) or text.
|
||||
|
||||
next example does it for
|
||||
next example does it for
|
||||
|
||||
```golang
|
||||
import freeflowuniverse.herolib.core.texttools.regext
|
||||
import incubaid.herolib.core.texttools.regext
|
||||
text := '
|
||||
|
||||
this is test_1 SomeTest
|
||||
@@ -43,17 +43,15 @@ mut text_out2 := ri.replace(text: text, dedent: true) or { panic(err) }
|
||||
|
||||
//pub struct ReplaceDirArgs {
|
||||
//pub mut:
|
||||
// path string
|
||||
// extensions []string
|
||||
// dryrun bool
|
||||
// path string
|
||||
// extensions []string
|
||||
// dryrun bool
|
||||
//}
|
||||
// if dryrun is true then will not replace but just show
|
||||
ri.replace_in_dir(path:"/tmp/mypath",extensions:["md"])!
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
module regext
|
||||
|
||||
import freeflowuniverse.herolib.core.texttools
|
||||
import incubaid.herolib.core.texttools
|
||||
import regex
|
||||
import freeflowuniverse.herolib.ui.console
|
||||
import incubaid.herolib.ui.console
|
||||
import os
|
||||
|
||||
pub struct ReplaceInstructions {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module regext
|
||||
|
||||
import os
|
||||
import freeflowuniverse.herolib.core.texttools { dedent }
|
||||
import incubaid.herolib.core.texttools { dedent }
|
||||
|
||||
fn test_stdtext() {
|
||||
// this is test without much fancyness, just rext replace, no regex, all case sensitive
|
||||
|
||||
Reference in New Issue
Block a user