{"action":"created","issue":{"url":"https://api.github.com/repos/sagiegurari/cargo-make/issues/306","repository_url":"https://api.github.com/repos/sagiegurari/cargo-make","labels_url":"https://api.github.com/repos/sagiegurari/cargo-make/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/sagiegurari/cargo-make/issues/306/comments","events_url":"https://api.github.com/repos/sagiegurari/cargo-make/issues/306/events","html_url":"https://github.com/sagiegurari/cargo-make/issues/306","id":517467945,"node_id":"MDU6SXNzdWU1MTc0Njc5NDU=","number":306,"title":"Make possible to provide the env file pathes in the `Makefile.toml`","user":{"login":"olvyko","id":44478988,"node_id":"MDQ6VXNlcjQ0NDc4OTg4","avatar_url":"https://avatars0.githubusercontent.com/u/44478988?v=4","gravatar_id":"","url":"https://api.github.com/users/olvyko","html_url":"https://github.com/olvyko","followers_url":"https://api.github.com/users/olvyko/followers","following_url":"https://api.github.com/users/olvyko/following{/other_user}","gists_url":"https://api.github.com/users/olvyko/gists{/gist_id}","starred_url":"https://api.github.com/users/olvyko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olvyko/subscriptions","organizations_url":"https://api.github.com/users/olvyko/orgs","repos_url":"https://api.github.com/users/olvyko/repos","events_url":"https://api.github.com/users/olvyko/events{/privacy}","received_events_url":"https://api.github.com/users/olvyko/received_events","type":"User","site_admin":false},"labels":[{"id":632826007,"node_id":"MDU6TGFiZWw2MzI4MjYwMDc=","url":"https://api.github.com/repos/sagiegurari/cargo-make/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"sagiegurari","id":8112599,"node_id":"MDQ6VXNlcjgxMTI1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8112599?v=4","gravatar_id":"","url":"https://api.github.com/users/sagiegurari","html_url":"https://github.com/sagiegurari","followers_url":"https://api.github.com/users/sagiegurari/followers","following_url":"https://api.github.com/users/sagiegurari/following{/other_user}","gists_url":"https://api.github.com/users/sagiegurari/gists{/gist_id}","starred_url":"https://api.github.com/users/sagiegurari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagiegurari/subscriptions","organizations_url":"https://api.github.com/users/sagiegurari/orgs","repos_url":"https://api.github.com/users/sagiegurari/repos","events_url":"https://api.github.com/users/sagiegurari/events{/privacy}","received_events_url":"https://api.github.com/users/sagiegurari/received_events","type":"User","site_admin":false},"assignees":[{"login":"sagiegurari","id":8112599,"node_id":"MDQ6VXNlcjgxMTI1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8112599?v=4","gravatar_id":"","url":"https://api.github.com/users/sagiegurari","html_url":"https://github.com/sagiegurari","followers_url":"https://api.github.com/users/sagiegurari/followers","following_url":"https://api.github.com/users/sagiegurari/following{/other_user}","gists_url":"https://api.github.com/users/sagiegurari/gists{/gist_id}","starred_url":"https://api.github.com/users/sagiegurari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagiegurari/subscriptions","organizations_url":"https://api.github.com/users/sagiegurari/orgs","repos_url":"https://api.github.com/users/sagiegurari/repos","events_url":"https://api.github.com/users/sagiegurari/events{/privacy}","received_events_url":"https://api.github.com/users/sagiegurari/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/sagiegurari/cargo-make/milestones/49","html_url":"https://github.com/sagiegurari/cargo-make/milestone/49","labels_url":"https://api.github.com/repos/sagiegurari/cargo-make/milestones/49/labels","id":4830288,"node_id":"MDk6TWlsZXN0b25lNDgzMDI4OA==","number":49,"title":"0.24.0","description":"","creator":{"login":"sagiegurari","id":8112599,"node_id":"MDQ6VXNlcjgxMTI1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8112599?v=4","gravatar_id":"","url":"https://api.github.com/users/sagiegurari","html_url":"https://github.com/sagiegurari","followers_url":"https://api.github.com/users/sagiegurari/followers","following_url":"https://api.github.com/users/sagiegurari/following{/other_user}","gists_url":"https://api.github.com/users/sagiegurari/gists{/gist_id}","starred_url":"https://api.github.com/users/sagiegurari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagiegurari/subscriptions","organizations_url":"https://api.github.com/users/sagiegurari/orgs","repos_url":"https://api.github.com/users/sagiegurari/repos","events_url":"https://api.github.com/users/sagiegurari/events{/privacy}","received_events_url":"https://api.github.com/users/sagiegurari/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":4,"state":"open","created_at":"2019-11-09T14:28:00Z","updated_at":"2019-11-12T04:08:59Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2019-11-04T23:46:54Z","updated_at":"2019-11-12T10:23:52Z","closed_at":null,"author_association":"NONE","body":"**Features Description**\r\nMake possible to provide the env file path (`--env-file`) in the `Makefile.toml`.\r\n\r\n**Describe the solution you'd like**\r\nNow, when you use `--env-file`, you need to call `cargo make` like this:\r\n```sh\r\ncargo make --env-file=./env/dev1.env dev\r\n```\r\nbut it would be cool if you could provide the env file pathes in the `Makefile.toml`, \r\n\r\n**Code Sample**\r\n(for example, but can be implemented differently)\r\n```toml\r\n[tasks.dev]\r\ndescription = \"Big dev task ...\"\r\ncommand = \"cargo\"\r\nargs = [\"run\"]\r\n\r\n[tasks.test]\r\ndescription = \"Big test task ...\"\r\ncommand = \"cargo\"\r\nargs = [\"test\"]\r\n\r\n[env-files]\r\ndev = [\"./env/dev1.env\", \"./env/dev2.env\"]\r\ntest = \"./env/test.env\"\r\n```\r\nthen just run `cargo make dev` or `cargo make test` and all `env-files` will be attached automatically.\r\n"},"comment":{"url":"https://api.github.com/repos/sagiegurari/cargo-make/issues/comments/552831033","html_url":"https://github.com/sagiegurari/cargo-make/issues/306#issuecomment-552831033","issue_url":"https://api.github.com/repos/sagiegurari/cargo-make/issues/306","id":552831033,"node_id":"MDEyOklzc3VlQ29tbWVudDU1MjgzMTAzMw==","user":{"login":"sagiegurari","id":8112599,"node_id":"MDQ6VXNlcjgxMTI1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/8112599?v=4","gravatar_id":"","url":"https://api.github.com/users/sagiegurari","html_url":"https://github.com/sagiegurari","followers_url":"https://api.github.com/users/sagiegurari/followers","following_url":"https://api.github.com/users/sagiegurari/following{/other_user}","gists_url":"https://api.github.com/users/sagiegurari/gists{/gist_id}","starred_url":"https://api.github.com/users/sagiegurari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagiegurari/subscriptions","organizations_url":"https://api.github.com/users/sagiegurari/orgs","repos_url":"https://api.github.com/users/sagiegurari/repos","events_url":"https://api.github.com/users/sagiegurari/events{/privacy}","received_events_url":"https://api.github.com/users/sagiegurari/received_events","type":"User","site_admin":false},"created_at":"2019-11-12T10:23:52Z","updated_at":"2019-11-12T10:23:52Z","author_association":"OWNER","body":"@olvyko and @enfipy this feature is now available in the 0.24.0 development branch.\r\nyou can try it out and provide feedback before it goes to official release.\r\nThe documentation is here: https://github.com/sagiegurari/cargo-make/tree/0.24.0#usage-env-file"}}
{"actor":{"display_login":"sagiegurari"}}