{"id":25999526,"url":"https://github.com/ethankletschke/perl-command-line-parser","last_synced_at":"2025-03-05T18:29:06.987Z","repository":{"id":280584358,"uuid":"940459200","full_name":"ethanKletschke/Perl-Command-Line-Parser","owner":"ethanKletschke","description":"A command-line parsing Perl script. For testing purposes only.","archived":false,"fork":false,"pushed_at":"2025-03-04T07:13:15.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T08:24:02.932Z","etag":null,"topics":["command-line","command-line-arguments","perl","perl-script"],"latest_commit_sha":null,"homepage":"","language":"Perl","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/ethanKletschke.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-28T08:02:15.000Z","updated_at":"2025-03-04T07:13:18.000Z","dependencies_parsed_at":"2025-03-04T08:24:08.035Z","dependency_job_id":"0579e208-085d-44ec-9aba-97e017de04a5","html_url":"https://github.com/ethanKletschke/Perl-Command-Line-Parser","commit_stats":null,"previous_names":["ethankletschke/perl-command-line-parser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanKletschke%2FPerl-Command-Line-Parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanKletschke%2FPerl-Command-Line-Parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanKletschke%2FPerl-Command-Line-Parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanKletschke%2FPerl-Command-Line-Parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethanKletschke","download_url":"https://codeload.github.com/ethanKletschke/Perl-Command-Line-Parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242078769,"owners_count":20068601,"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":["command-line","command-line-arguments","perl","perl-script"],"created_at":"2025-03-05T18:29:05.790Z","updated_at":"2025-03-05T18:29:06.958Z","avatar_url":"https://github.com/ethanKletschke.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Perl Command Line Parser v1.1.0\n\nA test script written in [Perl](https://en.wikipedia.org/wiki/Perl \"Source: Wikipedia.org\") to parse\ncommand line arguments and output different things depending on the option entered.\n\n\n## Authorship \n\nMade by Ethan Kletschke.\n\n### Details of Project\n\n- Date of Initial Commit: 2025-02-28\n- Current Version: `1.1.0`\n- Language used: [Perl](https://www.perl.org/about.html \"Source: www.perl.org\")\n\n## Table of Contents\n\n- [Perl Command Line Parser v1.1.0](#perl-command-line-parser-v110)\n  - [Authorship](#authorship)\n    - [Details of Project](#details-of-project)\n  - [Table of Contents](#table-of-contents)\n  - [Description](#description)\n  - [Options](#options)\n  - [Planned options](#planned-options)\n  - [Incorrect CLI Input](#incorrect-cli-input)\n    - [Single-line Flag Entered with Other Flags](#single-line-flag-entered-with-other-flags)\n    - [\"Single-line Flag not Entered\" Error](#single-line-flag-not-entered-error)\n  - [Changelog](#changelog)\n    - [**_1.1.0_**](#110)\n    - [**_1.0_**](#10)\n\n## Description\n\nThe **_Perl Command Line Parser_** is a [CLI](https://en.wikipedia.org/wiki/Command-line_interface \"Source: Wikipedia.org\") app (currently just a test script) that \nparses command line arguments passed to the program.\n\n## Options\n\nThe table below lists the currently-implemented valid command-line arguments:\n\n|    **Option**    |                                           **Description**                                            |\n| :--------------: | :--------------------------------------------------------------------------------------------------: |\n| `-v`/`--version` |                                    Displays version information.                                     |\n|  `-h`/`--help`   |         Help menu. Also displays on incorrect CLI input (see [here](#incorrect-cli-input)).          |\n|     `-Dall`      | Short for `Display all`. Turns on \"verbosity mode\", which displays both debug messages and warnings. |\n|     `-Dbug`      |                       Short for `Display debug`. Turns on debugging messages.                        |\n|     `-Dwarn`     |                       Short for `Display warnings`. Turns on warning messages.                       |\n\n(Table generated with [TablesGenerator.com](https://www.tablesgenerator.com/markdown_tables# \"Table generator site\"))\n\n## Planned options\n\nThe table below lists the planned options that could be implemented in later versions of this \"app\":\n\n|      **Option**       |                               **Description**                               | **Planned Version\\*** |\n| :-------------------: | :-------------------------------------------------------------------------: | :-------------------: |\n|    `-m \"Literal\"`     | Displays the string `\"Literal\"` that comes immediately after the `-m` flag. |          1.2          |\n| `--message \"Literal\"` |                               Alias of `-m`.                                |          1.2          |\n|         `-l`          |                          Log the output to a file.                          |          1.2          |\n|        `--log`        |                                Alias of `-l`                                |          1.2          |\n|         `-s`          |                          Save output to a file(?).                          |         _???_         |\n|       `--save`        |                               Alias of `-s`.                                |         _???_         |\n\n\\* - Not 100% accurate.\n\n(Table generated with [TablesGenerator.com](https://www.tablesgenerator.com/markdown_tables# \"Table generator site\"))\n\n## Incorrect CLI Input\n\n### Single-line Flag Entered with Other Flags\n\nIf the user enters a single-output option (such as `-v` or `-h`) along with more than one option, then the program will\nclose with an error message.\n\n### \"Single-line Flag not Entered\" Error\n\nOr if the user enters a normal flag (such as `-Dall`) as the only option (as of v1.1), the program will close with an error\nmessage.\n\nFor example:\n\n```powershell\nperl Main.pl -Dall\n```\n\nWill show the following output (as of v1.1):\n\n```\nSingle-line flag not entered.\nExiting...\n```\n\n\n## Changelog\n\n### **_1.1.0_**\n\nNew Features:\n- Allow `--version` to be used as an alias of `-v`.\n- Allow `--help` to be used as an alias of `-h`.\n\nImplementation Tweaks:\n- Re-ordered the `$help` string's list to show single-line flags first.\n\nBug fixes:\n- Tweaked `if` statements to actually allow for warning outputs to be enabled.\n- Tweaked single-argument handling a bit.\n  - Temporarily use the `die` keyword to kill the program when a single-line flag is not entered.\n    - To be fixed in a future release.\n- Fix `README.md`\n  - Add missing heading \"[Incorrect CLI Output](#incorrect-cli-input)\".\n  - Add various new sections.\n\n### **_1.0_**\n\nProgram is initially released onto [Github](https://github.com/ethanKletschke/Perl-Command-Line-Parser).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethankletschke%2Fperl-command-line-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethankletschke%2Fperl-command-line-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethankletschke%2Fperl-command-line-parser/lists"}