{"id":17799412,"url":"https://github.com/polettix/app-easer","last_synced_at":"2025-03-17T05:32:39.446Z","repository":{"id":45742778,"uuid":"382457731","full_name":"polettix/App-Easer","owner":"polettix","description":"Simplify writing (hierarchical) CLI applications in Perl","archived":false,"fork":false,"pushed_at":"2024-11-27T00:01:01.000Z","size":547,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T21:24:21.501Z","etag":null,"topics":["perl"],"latest_commit_sha":null,"homepage":"https://github.polettix.it/App-Easer","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/polettix.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support/podversion.pl","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-02T20:33:38.000Z","updated_at":"2024-11-27T00:01:00.000Z","dependencies_parsed_at":"2024-08-28T22:27:39.687Z","dependency_job_id":"469bc828-8983-4aff-a8ff-b4467099bc91","html_url":"https://github.com/polettix/App-Easer","commit_stats":{"total_commits":171,"total_committers":1,"mean_commits":171.0,"dds":0.0,"last_synced_commit":"ae3ec4a58ac673b98fc615d2424c3b9ecb324de9"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polettix%2FApp-Easer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polettix%2FApp-Easer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polettix%2FApp-Easer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polettix%2FApp-Easer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polettix","download_url":"https://codeload.github.com/polettix/App-Easer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852484,"owners_count":20358271,"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":["perl"],"created_at":"2024-10-27T12:07:13.578Z","updated_at":"2025-03-17T05:32:39.440Z","avatar_url":"https://github.com/polettix.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nApp::Easer - Simplify writing (hierarchical) CLI applications\n\n# VERSION\n\nThis document describes App::Easer version {{\\[ version \\]}}.\n\n\u003cdiv\u003e\n    \u003ca href=\"https://travis-ci.org/polettix/App-Easer\"\u003e\n    \u003cimg alt=\"Build Status\" src=\"https://travis-ci.org/polettix/App-Easer.svg?branch=master\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.perl.org/\"\u003e\n    \u003cimg alt=\"Perl Version\" src=\"https://img.shields.io/badge/perl-5.24+-brightgreen.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://badge.fury.io/pl/App-Easer\"\u003e\n    \u003cimg alt=\"Current CPAN version\" src=\"https://badge.fury.io/pl/App-Easer.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://cpants.cpanauthors.org/dist/App-Easer\"\u003e\n    \u003cimg alt=\"Kwalitee\" src=\"http://cpants.cpanauthors.org/dist/App-Easer.png\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://www.cpantesters.org/distro/O/App-Easer.html?distmat=1\"\u003e\n    \u003cimg alt=\"CPAN Testers\" src=\"https://img.shields.io/badge/cpan-testers-blue.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://matrix.cpantesters.org/?dist=App-Easer\"\u003e\n    \u003cimg alt=\"CPAN Testers Matrix\" src=\"https://img.shields.io/badge/matrix-@testers-blue.svg\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n# SYNOPSIS\n\n    #!/usr/bin/env perl\n    use v5.24;\n    use experimental 'signatures';\n    use App::Easer V2 =\u003e 'run';\n    my $app = {\n       aliases     =\u003e ['foo'],\n       help        =\u003e 'this is the main app',\n       description =\u003e 'Yes, this really is the main app',\n       options     =\u003e [\n          {\n             name        =\u003e 'foo',\n             help        =\u003e 'option foo!',\n             getopt      =\u003e 'foo|f=s',\n             environment =\u003e 'FOO',\n             default     =\u003e 'bar',\n          },\n       ],\n       execute =\u003e sub ($instance) {\n          my $foo = $instance-\u003econfig('foo');\n          say \"Hello, $foo!\";\n          return 0;\n       },\n       default_child =\u003e '-self',    # run execute by default\n       children =\u003e [\n          {\n             aliases =\u003e ['bar'],\n             help =\u003e 'this is a sub-command',\n             description =\u003e 'Yes, this is a sub-command',\n             execute =\u003e sub { 'Peace!' },\n          },\n       ],\n    };\n    exit run($app, $0, @ARGV);\n\n# DESCRIPTION\n\n**NOTE**: this software should be considered \"late alpha\" maturity. I'm\nmostly happy with the interface, but there are still a few things that\nmight get changed. _Anyway_, if you find a release of `App::Easer` to\nwork fine for you, it's fair to assume that you will not need to get a\nnewer one later.\n\nApp::Easer provides the scaffolding for implementing hierarchical\ncommand-line applications in a very fast way.\n\nDevelopment today happens only in [App::Easer::V2](https://metacpan.org/pod/App%3A%3AEaser%3A%3AV2). The legacy\ninterface is still available in [App::Easer::V1](https://metacpan.org/pod/App%3A%3AEaser%3A%3AV1), which is also the\ndefault but has its own documentation.\n\n# BUGS AND LIMITATIONS\n\nMinimum perl version 5.24.\n\nReport bugs through GitHub (patches welcome) at\n[https://github.com/polettix/App-Easer](https://github.com/polettix/App-Easer).\n\n# AUTHOR\n\nFlavio Poletti \u003cflavio@polettix.it\u003e\n\n# COPYRIGHT AND LICENSE\n\nCopyright 2021, 2022 by Flavio Poletti \u003cflavio@polettix.it\u003e\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nJust to be clear: apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolettix%2Fapp-easer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolettix%2Fapp-easer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolettix%2Fapp-easer/lists"}