{"action":"created","issue":{"url":"https://api.github.com/repos/bw2/ConfigArgParse/issues/25","labels_url":"https://api.github.com/repos/bw2/ConfigArgParse/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/bw2/ConfigArgParse/issues/25/comments","events_url":"https://api.github.com/repos/bw2/ConfigArgParse/issues/25/events","html_url":"https://github.com/bw2/ConfigArgParse/issues/25","id":85816680,"number":25,"title":"Feature: Parse additional config file information to be merged into existing config object","user":{"login":"kesmit13","id":6206744,"avatar_url":"https://avatars.githubusercontent.com/u/6206744?v=3","gravatar_id":"","url":"https://api.github.com/users/kesmit13","html_url":"https://github.com/kesmit13","followers_url":"https://api.github.com/users/kesmit13/followers","following_url":"https://api.github.com/users/kesmit13/following{/other_user}","gists_url":"https://api.github.com/users/kesmit13/gists{/gist_id}","starred_url":"https://api.github.com/users/kesmit13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kesmit13/subscriptions","organizations_url":"https://api.github.com/users/kesmit13/orgs","repos_url":"https://api.github.com/users/kesmit13/repos","events_url":"https://api.github.com/users/kesmit13/events{/privacy}","received_events_url":"https://api.github.com/users/kesmit13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-06T22:00:39Z","updated_at":"2015-11-09T05:47:42Z","closed_at":null,"body":"Maybe this is possible already, but it isn't obvious.  I'd like to parse arguments and config files at startup, but then add an additional config (either file or string contents of file) at a later time.  The existing config would be updated with the settings from the new information."},"comment":{"url":"https://api.github.com/repos/bw2/ConfigArgParse/issues/comments/154942730","html_url":"https://github.com/bw2/ConfigArgParse/issues/25#issuecomment-154942730","issue_url":"https://api.github.com/repos/bw2/ConfigArgParse/issues/25","id":154942730,"user":{"login":"bw2","id":6240170,"avatar_url":"https://avatars.githubusercontent.com/u/6240170?v=3","gravatar_id":"","url":"https://api.github.com/users/bw2","html_url":"https://github.com/bw2","followers_url":"https://api.github.com/users/bw2/followers","following_url":"https://api.github.com/users/bw2/following{/other_user}","gists_url":"https://api.github.com/users/bw2/gists{/gist_id}","starred_url":"https://api.github.com/users/bw2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bw2/subscriptions","organizations_url":"https://api.github.com/users/bw2/orgs","repos_url":"https://api.github.com/users/bw2/repos","events_url":"https://api.github.com/users/bw2/events{/privacy}","received_events_url":"https://api.github.com/users/bw2/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T05:47:42Z","updated_at":"2015-11-09T05:47:42Z","body":"This is a hack, but should work:\r\n```\r\nparser = configargparse.Parser(..)\r\ninitial_args = parser.parse_args()\r\n\r\nparser._default_config_files.append(\"config_file2.ini\")\r\nupdated_args = parser.parse_args()\r\n```\r\nIf this is useful (especially to more than one person) I could add a method like `add_config_file(..)` to the api."}}