add basic plugin architecture

This commit is contained in:
2022-11-01 21:15:32 +01:00
parent e0e0290dcf
commit d484d44981
15 changed files with 150 additions and 28 deletions

View File

@@ -0,0 +1 @@
../../../../

BIN
examples/basic/char Executable file

Binary file not shown.

4
examples/basic/char.yml Normal file
View File

@@ -0,0 +1,4 @@
registry: git.front.kjuulh.io
plugins:
"kjuulh/char#plugins/gocli": {}
"kjuulh/char#plugins/rust": {}

View File

@@ -1,3 +1,5 @@
#!/bin/bash
go run ../../main.go ls
go build -o char ../../main.go
CHAR_DEV_MODE=true ./char ls