...
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
|
||||
import freeflowuniverse.herolib.mcp.aitools
|
||||
|
||||
// aitools.convert_pug("/root/code/github/freeflowuniverse/herolauncher/pkg/herolauncher/web/templates/admin")!
|
||||
// aitools.convert_pug("/root/code/github/incubaid/herolauncher/pkg/herolauncher/web/templates/admin")!
|
||||
|
||||
aitools.convert_pug('/root/code/github/freeflowuniverse/herolauncher/pkg/zaz/webui/templates')!
|
||||
aitools.convert_pug('/root/code/github/incubaid/herolauncher/pkg/zaz/webui/templates')!
|
||||
|
||||
@@ -14,5 +14,5 @@ println(model.sheet)
|
||||
// println(model.sheet.export()!)
|
||||
|
||||
model.sheet.pprint()!
|
||||
// model.sheet.export(path: '~/code/github/freeflowuniverse/starlight_template/src/content/test.csv')!
|
||||
// model.sheet.export(path: '~/code/github/incubaid/starlight_template/src/content/test.csv')!
|
||||
// model.sheet
|
||||
|
||||
@@ -4,18 +4,18 @@ import freeflowuniverse.herolib.core.generator.generic as generator
|
||||
import freeflowuniverse.herolib.core.pathlib
|
||||
|
||||
// mut args := generator.GeneratorArgs{
|
||||
// path: '~/code/github/freeflowuniverse/herolib/lib/clients'
|
||||
// path: '~/code/github/incubaid/herolib/lib/clients'
|
||||
// force: true
|
||||
// }
|
||||
|
||||
mut args2 := generator.GeneratorArgs{
|
||||
path: '~/code/github/freeflowuniverse/herolib/lib/develop/heroprompt'
|
||||
path: '~/code/github/incubaid/herolib/lib/develop/heroprompt'
|
||||
force: true
|
||||
}
|
||||
generator.scan(args2)!
|
||||
|
||||
// mut args := generator.GeneratorArgs{
|
||||
// path: '~/code/github/freeflowuniverse/herolib/lib/installers'
|
||||
// path: '~/code/github/incubaid/herolib/lib/installers'
|
||||
// force: true
|
||||
// }
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@ import freeflowuniverse.herolib.develop.heroprompt
|
||||
import os
|
||||
|
||||
// mut workspace := heroprompt.new(
|
||||
// path: '${os.home_dir()}/code/github/freeflowuniverse/herolib'
|
||||
// path: '${os.home_dir()}/code/github/incubaid/herolib'
|
||||
// name: 'workspace'
|
||||
// )!
|
||||
|
||||
mut workspace := heroprompt.get(
|
||||
name: 'example_ws'
|
||||
path: '${os.home_dir()}/code/github/freeflowuniverse/herolib'
|
||||
path: '${os.home_dir()}/code/github/incubaid/herolib'
|
||||
create: true
|
||||
)!
|
||||
|
||||
@@ -18,9 +18,9 @@ println('workspace (initial): ${workspace}')
|
||||
println('selected (initial): ${workspace.selected_children()}')
|
||||
|
||||
// Add a directory and a file
|
||||
workspace.add_dir(path: '${os.home_dir()}/code/github/freeflowuniverse/herolib/docker')!
|
||||
workspace.add_dir(path: '${os.home_dir()}/code/github/incubaid/herolib/docker')!
|
||||
workspace.add_file(
|
||||
path: '${os.home_dir()}/code/github/freeflowuniverse/herolib/docker/docker_ubuntu_install.sh'
|
||||
path: '${os.home_dir()}/code/github/incubaid/herolib/docker/docker_ubuntu_install.sh'
|
||||
)!
|
||||
println('selected (after add): ${workspace.selected_children()}')
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ fn do1() ! {
|
||||
osal.rsync(source: myexamplepath, dest: tstdir, delete: true)!
|
||||
cmd := osal.rsync_cmd(source: myexamplepath, dest: tstdir)!
|
||||
println(cmd)
|
||||
//"rsync -avz --no-perms --exclude='*.pyc' --exclude='*.bak' --exclude='*dSYM' /Users/despiegk1/code/github/freeflowuniverse/herolib/examples /tmp/testsync"
|
||||
//"rsync -avz --no-perms --exclude='*.pyc' --exclude='*.bak' --exclude='*dSYM' /Users/despiegk1/code/github/incubaid/herolib/examples /tmp/testsync"
|
||||
}
|
||||
|
||||
fn do2() ! {
|
||||
|
||||
@@ -7,7 +7,7 @@ import os
|
||||
import markdown
|
||||
import freeflowuniverse.herolib.data.markdownparser2
|
||||
|
||||
path1 := '${os.home_dir()}/code/github/freeflowuniverse/herolib/examples/web/mdbook_markdown/content/cybercity.md'
|
||||
path1 := '${os.home_dir()}/code/github/incubaid/herolib/examples/web/mdbook_markdown/content/cybercity.md'
|
||||
|
||||
text := os.read_file(path1)!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user