Files
herolib/aiprompts/vshell example script instructions.md
despiegk 8400bfc4ee Merge branch 'main_openai_fixes' into development_actions
* main_openai_fixes:
  wip: add tests for openai client
  fix crystallib imports
  fixes in openai client

# Conflicts:
#	examples/hero/generation/openapi_generation/example_actor/actor.v
#	examples/hero/openapi/actor.vsh
#	examples/hero/openapi/server.vsh
2024-12-31 10:23:20 +01:00

20 lines
467 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 -no-retry-compilation -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