mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-23 03:18:43 +08:00
🐛 fix bug in json.cpp & add std/argparse.nas
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# use module.libjson;
|
||||
|
||||
# libjson.stringify(math.tan);
|
||||
|
||||
# println(libjson.get_error());
|
||||
use std.argparse;
|
||||
|
||||
var args = argparse.new("test cli");
|
||||
args.add_command("--what", "-w", "what-what");
|
||||
args.add_subparser("what", "what-what");
|
||||
args.parse();
|
||||
Reference in New Issue
Block a user