{"id":15042437,"url":"https://github.com/mikkoi/env-assert","last_synced_at":"2025-04-14T20:33:30.067Z","repository":{"id":65905764,"uuid":"601666897","full_name":"mikkoi/env-assert","owner":"mikkoi","description":"Ensure that the environment variables match what you need, or abort.","archived":false,"fork":false,"pushed_at":"2025-04-06T20:35:11.000Z","size":191,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T21:30:00.854Z","etag":null,"topics":["bash","containers","environment-variables","hacktoberfest","perl","perl-module","perl-script"],"latest_commit_sha":null,"homepage":"https://metacpan.org/dist/Env-Assert","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikkoi.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-Artistic-2.0","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-14T15:02:20.000Z","updated_at":"2025-04-06T20:35:14.000Z","dependencies_parsed_at":"2024-01-02T01:52:57.260Z","dependency_job_id":"cb1c9bba-4dfc-452a-b72c-70ddbb401bb5","html_url":"https://github.com/mikkoi/env-assert","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikkoi%2Fenv-assert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikkoi%2Fenv-assert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikkoi%2Fenv-assert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikkoi%2Fenv-assert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikkoi","download_url":"https://codeload.github.com/mikkoi/env-assert/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248956283,"owners_count":21189323,"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":["bash","containers","environment-variables","hacktoberfest","perl","perl-module","perl-script"],"created_at":"2024-09-24T20:47:18.674Z","updated_at":"2025-04-14T20:33:30.037Z","avatar_url":"https://github.com/mikkoi.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# envassert\n\nEnsure that the environment variables match\nwhat is requested, or abort.\n\n# DESCRIPTION\n\n**envassert** checks that your runtime environment, as defined\nwith environment variables, matches with what you want.\n\nYou can define your required environment in a file.\nDefault file is **.envdesc** but you can use any file.\nIt is advantageous to use **envassert** for example when running\na container. If you check your environment for missing or\nwrongly defined environment variables at the beginning of\nthe container run, your container will fail sooner instead\nof in a later point in execution when the variables are needed.\n\n# SYNOPSIS\n\nenvassert [options]\n\nOptions:\n\n    --help\n    --man\n    --version\n    --break-at-error\n    --env-description\n\n## INSTALLATION\n\n### Packaging\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/env-assert.svg)](https://repology.org/project/env-assert/versions)\n\n### CLI interface without dependencies\n\nThe **envassert** command is also available\nas self contained executable.\nYou can download it and run it as it is without\nadditional installation of CPAN packages.\nOf course, you still need Perl, but Perl comes with any\nnormal Linux installation.\n\nThis can be convenient if you want to, for instance,\ninclude **envassert** in a docker container build.\n\n    curl -LSs -o envassert https://raw.githubusercontent.com/mikkoi/env-assert/main/envassert.self-contained\n    chmod +x ./envassert\n\n# LICENSE\n\nThis software is copyright (c) 2023 by Mikko Koivunalho.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n\nTerms of the Perl programming language system itself:\n\na) the GNU General Public License as published by the Free\n   Software Foundation; either version 1, or (at your option) any\n   later version, or\nb) the \"Artistic License\"\n\nThe complete licenses are in the files LICENSE-Artistic-2.0 and LICENSE-GPL-3\nwithin this repository. If these files are missing, they can be downloaded\nfrom the following urls:\n\n    * https://www.gnu.org/licenses/\n    * https://www.perlfoundation.org/artistic-license-20.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikkoi%2Fenv-assert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikkoi%2Fenv-assert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikkoi%2Fenv-assert/lists"}