{"action":"created","issue":{"url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/70","labels_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/70/comments","events_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/70/events","html_url":"https://github.com/enableiot/iotkit-agent/issues/70","id":60563755,"number":70,"title":"Request: Have a new parameter to get the config filename","user":{"login":"oloynet","id":270497,"avatar_url":"https://avatars.githubusercontent.com/u/270497?v=3","gravatar_id":"","url":"https://api.github.com/users/oloynet","html_url":"https://github.com/oloynet","followers_url":"https://api.github.com/users/oloynet/followers","following_url":"https://api.github.com/users/oloynet/following{/other_user}","gists_url":"https://api.github.com/users/oloynet/gists{/gist_id}","starred_url":"https://api.github.com/users/oloynet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oloynet/subscriptions","organizations_url":"https://api.github.com/users/oloynet/orgs","repos_url":"https://api.github.com/users/oloynet/repos","events_url":"https://api.github.com/users/oloynet/events{/privacy}","received_events_url":"https://api.github.com/users/oloynet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-10T20:26:44Z","updated_at":"2015-03-11T14:40:04Z","closed_at":null,"body":"I need to explore registered components with Python from the iotkit.\r\nIs possible to have a new parameter to get the config filename\r\n\r\nIn the file **iotkit-agent/admin/components.js**\r\n\r\nThe new fonction called by cli action\r\n\r\n```javascript\r\nfunction getConfigFile () {\r\n    var filename = common.getDeviceConfigName();\r\n    if(filename) {\r\n        console.log(filename);\r\n    }\r\n}\r\n```\r\n\r\nThe new parameter for cli\r\n```javascript\r\n        program\r\n            .command('config-filename')\r\n            .description('Displays the config filename')\r\n            .action(getConfigFilename);\r\n```\r\nRegards,\r\nOlivier"},"comment":{"url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/comments/78275683","html_url":"https://github.com/enableiot/iotkit-agent/issues/70#issuecomment-78275683","issue_url":"https://api.github.com/repos/enableiot/iotkit-agent/issues/70","id":78275683,"user":{"login":"mtomczew","id":8233252,"avatar_url":"https://avatars.githubusercontent.com/u/8233252?v=3","gravatar_id":"","url":"https://api.github.com/users/mtomczew","html_url":"https://github.com/mtomczew","followers_url":"https://api.github.com/users/mtomczew/followers","following_url":"https://api.github.com/users/mtomczew/following{/other_user}","gists_url":"https://api.github.com/users/mtomczew/gists{/gist_id}","starred_url":"https://api.github.com/users/mtomczew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtomczew/subscriptions","organizations_url":"https://api.github.com/users/mtomczew/orgs","repos_url":"https://api.github.com/users/mtomczew/repos","events_url":"https://api.github.com/users/mtomczew/events{/privacy}","received_events_url":"https://api.github.com/users/mtomczew/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T14:40:04Z","updated_at":"2015-03-11T14:40:04Z","body":"We have in our backlog task for adding getter for data-directory. It will be added in future release."}}