{"action":"created","issue":{"url":"https://api.github.com/repos/datalad/datalad/issues/2432","repository_url":"https://api.github.com/repos/datalad/datalad","labels_url":"https://api.github.com/repos/datalad/datalad/issues/2432/labels{/name}","comments_url":"https://api.github.com/repos/datalad/datalad/issues/2432/comments","events_url":"https://api.github.com/repos/datalad/datalad/issues/2432/events","html_url":"https://github.com/datalad/datalad/issues/2432","id":316147203,"number":2432,"title":"Add `--inputs`/`--env` to `run`","user":{"login":"mih","id":136479,"avatar_url":"https://avatars1.githubusercontent.com/u/136479?v=4","gravatar_id":"","url":"https://api.github.com/users/mih","html_url":"https://github.com/mih","followers_url":"https://api.github.com/users/mih/followers","following_url":"https://api.github.com/users/mih/following{/other_user}","gists_url":"https://api.github.com/users/mih/gists{/gist_id}","starred_url":"https://api.github.com/users/mih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mih/subscriptions","organizations_url":"https://api.github.com/users/mih/orgs","repos_url":"https://api.github.com/users/mih/repos","events_url":"https://api.github.com/users/mih/events{/privacy}","received_events_url":"https://api.github.com/users/mih/received_events","type":"User","site_admin":false},"labels":[{"id":63778592,"url":"https://api.github.com/repos/datalad/datalad/labels/enhancement","name":"enhancement","color":"c5def5","default":true}],"state":"open","locked":false,"assignee":{"login":"kyleam","id":1297788,"avatar_url":"https://avatars2.githubusercontent.com/u/1297788?v=4","gravatar_id":"","url":"https://api.github.com/users/kyleam","html_url":"https://github.com/kyleam","followers_url":"https://api.github.com/users/kyleam/followers","following_url":"https://api.github.com/users/kyleam/following{/other_user}","gists_url":"https://api.github.com/users/kyleam/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleam/subscriptions","organizations_url":"https://api.github.com/users/kyleam/orgs","repos_url":"https://api.github.com/users/kyleam/repos","events_url":"https://api.github.com/users/kyleam/events{/privacy}","received_events_url":"https://api.github.com/users/kyleam/received_events","type":"User","site_admin":false},"assignees":[{"login":"kyleam","id":1297788,"avatar_url":"https://avatars2.githubusercontent.com/u/1297788?v=4","gravatar_id":"","url":"https://api.github.com/users/kyleam","html_url":"https://github.com/kyleam","followers_url":"https://api.github.com/users/kyleam/followers","following_url":"https://api.github.com/users/kyleam/following{/other_user}","gists_url":"https://api.github.com/users/kyleam/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleam/subscriptions","organizations_url":"https://api.github.com/users/kyleam/orgs","repos_url":"https://api.github.com/users/kyleam/repos","events_url":"https://api.github.com/users/kyleam/events{/privacy}","received_events_url":"https://api.github.com/users/kyleam/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-04-20T06:47:15Z","updated_at":"2018-04-21T15:43:20Z","closed_at":null,"author_association":"OWNER","body":"Continuing from #2291: It would be very useful to be able to indicate what inputs need to be around for a `run` invocation. It doesn't have to super tailored. Even saying --inputs . to communicate that I want all content to be present for execution would be helpful. A rerun could later on make sure that file that were present back then are available now (not necessarily all files that are present in the current state of the repo.)\r\n\r\nLike `--inputs`, `--env` would be useful to have. `run` could use it to capture the respective environment variables, and `rerun` could set or check for conflicting values in the re-execution environment."},"comment":{"url":"https://api.github.com/repos/datalad/datalad/issues/comments/383306720","html_url":"https://github.com/datalad/datalad/issues/2432#issuecomment-383306720","issue_url":"https://api.github.com/repos/datalad/datalad/issues/2432","id":383306720,"user":{"login":"yarikoptic","id":39889,"avatar_url":"https://avatars3.githubusercontent.com/u/39889?v=4","gravatar_id":"","url":"https://api.github.com/users/yarikoptic","html_url":"https://github.com/yarikoptic","followers_url":"https://api.github.com/users/yarikoptic/followers","following_url":"https://api.github.com/users/yarikoptic/following{/other_user}","gists_url":"https://api.github.com/users/yarikoptic/gists{/gist_id}","starred_url":"https://api.github.com/users/yarikoptic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarikoptic/subscriptions","organizations_url":"https://api.github.com/users/yarikoptic/orgs","repos_url":"https://api.github.com/users/yarikoptic/repos","events_url":"https://api.github.com/users/yarikoptic/events{/privacy}","received_events_url":"https://api.github.com/users/yarikoptic/received_events","type":"User","site_admin":false},"created_at":"2018-04-21T15:43:20Z","updated_at":"2018-04-21T15:43:20Z","author_association":"OWNER","body":"If we run commands in a shell, shouldn't then be sufficient to prepend with those definitions in command line to be executed? Would not need any custom option, and would become party of the command, and would work when exported to the script"}}
{"actor":{"display_login":"yarikoptic"}}