20 lines
446 B
Markdown
20 lines
446 B
Markdown
# how to run the vshell example scripts
|
|
|
|
this is how we want example scripts to be, see the first line
|
|
|
|
```vlang
|
|
#!/usr/bin/env -S v -gc none -cc tcc -d use_openssl -enable-globals run
|
|
|
|
import freeflowuniverse.herolib.installers.sysadmintools.daguserver
|
|
|
|
mut ds := daguserver.get()!
|
|
|
|
println(ds)
|
|
```
|
|
|
|
the files are in ~/code/github/freeflowuniverse/herolib/examples for herolib
|
|
|
|
## important instructions
|
|
|
|
- never use fn main() in a .vsh script
|