mirror of
https://github.com/Kugelschieber/asl.git
synced 2026-01-18 20:10:25 +00:00
Started testing for parser.
This commit is contained in:
@@ -6,8 +6,15 @@ import (
|
||||
"io/ioutil"
|
||||
)
|
||||
|
||||
const version = "0.1"
|
||||
|
||||
func usage() {
|
||||
fmt.Println("Usage: asl [-v|-pretty]")
|
||||
fmt.Println("Usage: asl [-v|-r|-pretty] <input file/folder> [<output file/folder>]")
|
||||
fmt.Println("-v (optional) shows asl version")
|
||||
fmt.Println("-r (optional) recursivly compile all asl files in folder")
|
||||
fmt.Println("-pretty (optional) activates pretty printing")
|
||||
fmt.Println("<input file/folder> file or directory to compile")
|
||||
fmt.Println("<output file/folder> (optional) output file/folder, if not set, files will be created alongside their asl files")
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user