15 lines
480 B
GLSL
Executable File
15 lines
480 B
GLSL
Executable File
#!/usr/bin/env -S v -gc none -no-retry-compilation -cc tcc -d use_openssl -enable-globals run
|
|
|
|
import freeflowuniverse.herolib.builder
|
|
import freeflowuniverse.herolib.core.pathlib
|
|
import os
|
|
|
|
mut b := builder.new()!
|
|
mut n := b.node_new(ipaddr: 'root@302:1d81:cef8:3049:ad01:796d:a5da:9c6')!
|
|
|
|
r:=n.exec(cmd:"ls /")!
|
|
println(r)
|
|
|
|
// n.upload(source: myexamplepath, dest: '/tmp/myexamplepath2')!
|
|
// n.download(source: '/tmp/myexamplepath2', dest: '/tmp/myexamplepath2', delete: true)!
|