add basic plugin architecture
This commit is contained in:
1
examples/basic/.char/plugins/rust
Symbolic link
1
examples/basic/.char/plugins/rust
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../../
|
BIN
examples/basic/char
Executable file
BIN
examples/basic/char
Executable file
Binary file not shown.
4
examples/basic/char.yml
Normal file
4
examples/basic/char.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
registry: git.front.kjuulh.io
|
||||
plugins:
|
||||
"kjuulh/char#plugins/gocli": {}
|
||||
"kjuulh/char#plugins/rust": {}
|
@@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
go run ../../main.go ls
|
||||
go build -o char ../../main.go
|
||||
|
||||
CHAR_DEV_MODE=true ./char ls
|
||||
|
Reference in New Issue
Block a user