v0.1 (#8)
Co-authored-by: kjuulh <contact@kjuulh.io> Reviewed-on: https://git.front.kjuulh.io/kjuulh/kraken/pulls/8
This commit is contained in:
12
_examples/actions/write_a_readme/main.go
Normal file
12
_examples/actions/write_a_readme/main.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package main
|
||||
|
||||
import "github.com/bitfield/script"
|
||||
|
||||
func main() {
|
||||
_, err := script.
|
||||
Echo("# Readme").
|
||||
WriteFile("README.md")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user