{"action":"created","issue":{"url":"https://api.github.com/repos/biocore/qiita/issues/1378","labels_url":"https://api.github.com/repos/biocore/qiita/issues/1378/labels{/name}","comments_url":"https://api.github.com/repos/biocore/qiita/issues/1378/comments","events_url":"https://api.github.com/repos/biocore/qiita/issues/1378/events","html_url":"https://github.com/biocore/qiita/pull/1378","id":94849524,"number":1378,"title":"ENH: Add configuration file argument to qiita CLI","user":{"login":"ElDeveloper","id":375307,"avatar_url":"https://avatars.githubusercontent.com/u/375307?v=3","gravatar_id":"","url":"https://api.github.com/users/ElDeveloper","html_url":"https://github.com/ElDeveloper","followers_url":"https://api.github.com/users/ElDeveloper/followers","following_url":"https://api.github.com/users/ElDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/ElDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/ElDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElDeveloper/subscriptions","organizations_url":"https://api.github.com/users/ElDeveloper/orgs","repos_url":"https://api.github.com/users/ElDeveloper/repos","events_url":"https://api.github.com/users/ElDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/ElDeveloper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-14T01:50:23Z","updated_at":"2015-08-05T22:02:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/biocore/qiita/pulls/1378","html_url":"https://github.com/biocore/qiita/pull/1378","diff_url":"https://github.com/biocore/qiita/pull/1378.diff","patch_url":"https://github.com/biocore/qiita/pull/1378.patch"},"body":"With the portals merged in master, changing the desired configuration file for\nthe webserver is a bit cumbersome, with this proposed change we should be able\nto just pass the configuration file as part of the command call, for example:\n\n```bash\nqiita --config-fp=portal_A.cfg pet webserver start\n\nqiita --config-fp=portal_B.cfg pet webserver start\n```\n\nI believe this is somewhat common in other command line interfaces and it feels\nmore natural than having to change an environment variable before calling a\ncommand. However I'm unsure about the unintended sideffects that reloading a\nmodule might cause."},"comment":{"url":"https://api.github.com/repos/biocore/qiita/issues/comments/128162761","html_url":"https://github.com/biocore/qiita/pull/1378#issuecomment-128162761","issue_url":"https://api.github.com/repos/biocore/qiita/issues/1378","id":128162761,"user":{"login":"ElDeveloper","id":375307,"avatar_url":"https://avatars.githubusercontent.com/u/375307?v=3","gravatar_id":"","url":"https://api.github.com/users/ElDeveloper","html_url":"https://github.com/ElDeveloper","followers_url":"https://api.github.com/users/ElDeveloper/followers","following_url":"https://api.github.com/users/ElDeveloper/following{/other_user}","gists_url":"https://api.github.com/users/ElDeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/ElDeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ElDeveloper/subscriptions","organizations_url":"https://api.github.com/users/ElDeveloper/orgs","repos_url":"https://api.github.com/users/ElDeveloper/repos","events_url":"https://api.github.com/users/ElDeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/ElDeveloper/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T22:02:10Z","updated_at":"2015-08-05T22:02:10Z","body":"I haven't figured out a good solution to this, however if others think\nthis is a feature we want, I'll investigate further.\n\nOn (Aug-03-15| 7:51), Antonio Gonzalez wrote:\n> what's the status of this PR?\n> \n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/biocore/qiita/pull/1378#issuecomment-127267336\n"}}