This commit is contained in:
2022-04-07 11:32:09 +02:00
parent 3a5e5d4870
commit 6ca24383f0
5 changed files with 57 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
import lib/sandbox
import lib/args
import options
import random
proc main(): int =
let args = parseArgs()
if args.isNone:
echo "Usage: bwshell --name=sandbox_name --profile=profile <sandbox_cmd>"
return 1
else:
randomize()
sandboxExec(args.unsafeGet)
quit(main())