Skip to content

Commit

Permalink
Release v1.4
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Maškarinec <marek@mrms.cz>
  • Loading branch information
marekmaskarinec committed Jun 30, 2024
1 parent ab5f02d commit ea922ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
8 changes: 5 additions & 3 deletions box.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "umbox",
"version": "v1.1",
"version": "v1.4",
"author": "Marek Maskarinec <marek@mrms.cz>",
"license": "MIT",
"description": "",
"license": "Unlicense/MIT",
"description": "A package manager for Umka",
"homepage": "https://umbox.tophat2d.dev",
"source": "https://github.com/marekmaskarinec/umbox",
"readme": "README.md",
"dependencies": [
"http",
Expand Down
21 changes: 1 addition & 20 deletions umbox.um
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,8 @@ import (
"umbox/args/args.um"
)

fn help() {
printf("UmBox v1.3 - an umka package manager\n\n" +
"Arguments:\n" +
"\t-h, --help - Display this help message\n" +
"\t-u, --url - Specify the UmBox server URL (Default: https://umbox.tophat2d.dev/)\n" +
"\t-d - Run in debug mode\n\n" +
"Modes:\n" +
"\tbuild - Build a box.tar\n" +
"\tinit - Initialize a package\n" +
"\tinstall - Install a package\n" +
"\tremove - Remove a package\n" +
"\trun - Run the current package\n" +
"\tsearch - Search for a package\n" +
"\tupdate - Update installed package\n" +
"\tregister - Register a package\n" +
"\tupload - Upload a file to a package\n"
)
}

fn main() {
args := args::mk("UmBox", "v1.3", "an Umka package manager", args::stdargv())
args := args::mk("UmBox", "v1.4", "an Umka package manager", args::stdargv())

args.optional(&common::debugMode, "debug", "Enable debug mode").short('d')
args.optional(&common::serverUrl, "url", "Specify server URL").short('u')
Expand Down

0 comments on commit ea922ea

Please sign in to comment.