{"id":22828697,"url":"https://github.com/busterc/assert-dotenv-cli","last_synced_at":"2025-04-23T16:24:33.508Z","repository":{"id":57185000,"uuid":"55539302","full_name":"busterc/assert-dotenv-cli","owner":"busterc","description":":shell: loads and asserts environment settings from dotenv files prior to executing CLI commands","archived":false,"fork":false,"pushed_at":"2018-08-25T21:47:48.000Z","size":5,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T16:24:28.821Z","etag":null,"topics":["conf","config","dotenv","env","environment","environment-variables","environment-vars","environments"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/busterc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-05T19:29:01.000Z","updated_at":"2023-09-08T17:08:54.000Z","dependencies_parsed_at":"2022-09-14T10:11:10.289Z","dependency_job_id":null,"html_url":"https://github.com/busterc/assert-dotenv-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fassert-dotenv-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fassert-dotenv-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fassert-dotenv-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busterc%2Fassert-dotenv-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/busterc","download_url":"https://codeload.github.com/busterc/assert-dotenv-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250468757,"owners_count":21435536,"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":["conf","config","dotenv","env","environment","environment-variables","environment-vars","environments"],"created_at":"2024-12-12T19:11:40.204Z","updated_at":"2025-04-23T16:24:33.491Z","avatar_url":"https://github.com/busterc.png","language":"JavaScript","readme":"# assert-dotenv-cli [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]\n\u003e loads and asserts environment settings from dotenv files prior to executing CLI commands\n\n- See [`assert-dotenv`](https://github.com/busterc/assert-dotenv) for more information about the mechanics and reasoning behind this.\n\n## Install\n\n```sh\n$ npm install --global assert-dotenv-cli\n```\n\n## Usage\n```sh\n$ assert-dotenv --help\n\n  Usage\n\n    $ assert-dotenv [options] \u003ccommand with arguments\u003e\n\n  Options\n\n    --dotenv-file \u003cfile\u003e    dotenv file to load settings\n    --assert-file \u003cfile\u003e    assert file to test settings\n    --help                  shows usage help\n\n```\n\n## Simple Demo\n\n- ~/app/.env (file contents)\n\n  ```sh\n  FTW=For The Win!!!\n  ```\n\n- ~/app/assert.env (file contents)\n\n  ```sh\n  FTW\n  ```\n\n- Examples\n\n  ```sh\n  $ cd ~/app\n\n  # first, without using assert-dotenv-cli\n  $ env | grep FTW\n  #\n  # ^ nada\n\n  # then, with assert-dotenv-cli\n  $ assert-dotenv env | grep FTW\n  # FTW=For The Win!!!\n  # ^ tada\n  ```\n\n## License\n\nISC © [Buster Collings](http://about.me/buster)\n\n\n[npm-image]: https://badge.fury.io/js/assert-dotenv-cli.svg\n[npm-url]: https://npmjs.org/package/assert-dotenv-cli\n[travis-image]: https://travis-ci.org/busterc/assert-dotenv-cli.svg?branch=master\n[travis-url]: https://travis-ci.org/busterc/assert-dotenv-cli\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusterc%2Fassert-dotenv-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbusterc%2Fassert-dotenv-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusterc%2Fassert-dotenv-cli/lists"}