created install function

This commit is contained in:
Ruben Shekspir 2019-04-28 16:58:14 +04:00
parent 83ebcf1b6e
commit 654ca13405
3 changed files with 16 additions and 4 deletions

View file

@ -23,7 +23,11 @@ BEGIN
END parseArgs;
BEGIN
IF Strings.Match(command, "") THEN help
ELSE IF Strings.Match(command, "install") THEN PackageFileParser.install END;
parseArgs(command);
IF Strings.Match(command, "") THEN
help;
ELSIF Strings.Match(command, "install") THEN
PackageFileParser.install();
END;
END opium.