You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo" -p, --path <path> Optional: Specify a path to a copy of the std library. For example, if you want to run the script from an outside directory."
10
+
echo" --run <verify-std|list> Optional: Specify whether to run 'verify-std' or 'list' command. Defaults to 'verify-std' if not specified."
10
11
echo" --kani-args <command arguments to kani> Optional: Arguments to pass to the command. Simply pass them in the same way you would to the Kani binary. This should be the last argument."
11
12
exit 1
12
13
}
13
14
14
15
# Initialize variables
15
16
command_args=""
16
17
path=""
18
+
run_command="verify-std"
17
19
18
20
# Parse command line arguments
19
21
# TODO: Improve parsing with getopts
@@ -31,13 +33,23 @@ while [[ $# -gt 0 ]]; do
31
33
usage
32
34
fi
33
35
;;
36
+
--run)
37
+
if [[ -n$2&& ($2 == "verify-std"||$2 == "list") ]];then
38
+
run_command=$2
39
+
shift 2
40
+
else
41
+
echo"Error: Invalid run command. Must be 'verify-std' or 'list'."
0 commit comments