{"id":26720953,"url":"https://github.com/adamjosefus/allo_arguments","last_synced_at":"2026-05-15T22:02:18.572Z","repository":{"id":39975320,"uuid":"401851930","full_name":"adamjosefus/allo_arguments","owner":"adamjosefus","description":"🦕  Super handy cli argument parser with automate generation `--help` flag.","archived":false,"fork":false,"pushed_at":"2022-12-06T17:02:04.000Z","size":93,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-09T00:43:23.865Z","etag":null,"topics":["argument-parser","arguments","cli","deno","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adamjosefus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-31T21:48:40.000Z","updated_at":"2022-02-16T13:37:19.000Z","dependencies_parsed_at":"2023-01-23T10:46:02.178Z","dependency_job_id":null,"html_url":"https://github.com/adamjosefus/allo_arguments","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/adamjosefus/allo_arguments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjosefus%2Fallo_arguments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjosefus%2Fallo_arguments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjosefus%2Fallo_arguments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjosefus%2Fallo_arguments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamjosefus","download_url":"https://codeload.github.com/adamjosefus/allo_arguments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamjosefus%2Fallo_arguments/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265910070,"owners_count":23847510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["argument-parser","arguments","cli","deno","typescript"],"created_at":"2025-03-27T19:35:07.964Z","updated_at":"2025-10-16T07:03:48.715Z","avatar_url":"https://github.com/adamjosefus.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Allo Arguments** for Deno 🦕\n\nA library for Deno that parses the terminal's input parameters.\nIt allows you to assign default values to them, process them and automatically generate a message for `--help`.\n\n\n## Example\n\n```ts\nimport { join } from \"https://deno.land/std/path/mod.ts\";\nimport { Arguments, ExpectedException } from \"https://deno.land/x/allo_arguments/mod.ts\";\n\n\nfunction getArguments() {\n    const args = new Arguments({\n        ...Arguments.createHelpOptions(),\n        'myString': {\n            shortName: 's',\n            description: 'This is a string flag.',\n            convertor: Arguments.stringConvertor,\n        },\n        'myNumber': {\n            shortName: 'n',\n            description: 'This is a number flag.',\n            convertor: Arguments.numberConvertor,\n            default: () =\u003e 0\n        },\n        'myBoolean': {\n            shortName: 'b',\n            description: 'This is a boolean flag.',\n            convertor: Arguments.booleanConvertor,\n        },\n        'myCustom': {\n            shortName: 'c',\n            description: 'This is a custom flag.',\n            convertor: value =\u003e {\n                if (value === undefined) return undefined;\n\n                return `🐰 — ${value} — 🐭`;\n            },\n        },\n        'myDeprecated': {\n            convertor: Arguments.stringConvertor,\n            excludeFromHelp: true\n        },\n    })\n    .setDescription(\"This is a demo of the arguments library.\")\n\n\n    // Important for `--help` flag works.\n    if (args.isHelpRequested()) args.triggerHelp();\n\n    return args.getFlags();\n}\n\n\ntry {\n    const args = getArguments();\n    console.log(args);\n\n} catch (error) {\n    Arguments.rethrowUnprintableException(error);\n}\n```\n\n## Documentation 📖\n\nDescription of all classes and methods will found in the [documentation](https://doc.deno.land/https://deno.land/x/allo_arguments/mod.ts).\n\n---\n\nCheck out other [ours packages 📦](https://deno.land/x?query=allo_)!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamjosefus%2Fallo_arguments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamjosefus%2Fallo_arguments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamjosefus%2Fallo_arguments/lists"}