diff --git a/Rune/Host.cs b/Rune/Host.cs index e0754de..b97d4b3 100644 --- a/Rune/Host.cs +++ b/Rune/Host.cs @@ -27,7 +27,8 @@ private static readonly Dictionary> s_builtIns ["new-scheme"] = SchemeCommand.Run, ["install"] = InstallCommand.Run, ["clear"] = ClearCommand.Run, - ["remove"] = RemoveCommand.Run + ["remove"] = RemoveCommand.Run, + ["restore"] = RestoreCommand.Run }; public static int Main(string[] args) { @@ -63,16 +64,17 @@ private static void InitializeProcess() }; } + internal static bool Verbose { get; set; } + internal static int ProcessArgs(string[] args) { - bool? verbose = null; var success = true; var command = string.Empty; var lastArg = 0; for (; lastArg < args.Length; lastArg++) { if (IsArg(args[lastArg], "d", "diagnostics")) - verbose = true; + Verbose = true; else if (IsArg(args[lastArg], "version")) { PrintVersion(); diff --git a/Rune/Rune.csproj b/Rune/Rune.csproj index dd73d6c..42410cf 100644 --- a/Rune/Rune.csproj +++ b/Rune/Rune.csproj @@ -8,8 +8,8 @@ resource\icon.ico 0.47.246 - 0.47.293.0 - 0.47.293.0 + 0.47.299.0 + 0.47.299.0 diff --git a/samples/vector/vector.rune.json b/samples/vector/vector.rune.json index c81ed44..6a0774c 100644 --- a/samples/vector/vector.rune.json +++ b/samples/vector/vector.rune.json @@ -3,6 +3,10 @@ "start": "echo 1" }, "name": "vector", - "version": "0.0", - "author": "Yuuki Wesp" + "version": "1.0", + "author": "Yuuki Wesp", + "deps": { + "terminal": "^0.0.0.0", + "beep": "^0.0.0.0" + } } \ No newline at end of file