{"action":"created","issue":{"url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/120","labels_url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/120/comments","events_url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/120/events","html_url":"https://github.com/dnanexus/dx-toolkit/issues/120","id":125028107,"number":120,"title":"dx describe should respect previous selection, if any ...","user":{"login":"kedarmhaswade","id":50923,"avatar_url":"https://avatars.githubusercontent.com/u/50923?v=3","gravatar_id":"","url":"https://api.github.com/users/kedarmhaswade","html_url":"https://github.com/kedarmhaswade","followers_url":"https://api.github.com/users/kedarmhaswade/followers","following_url":"https://api.github.com/users/kedarmhaswade/following{/other_user}","gists_url":"https://api.github.com/users/kedarmhaswade/gists{/gist_id}","starred_url":"https://api.github.com/users/kedarmhaswade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kedarmhaswade/subscriptions","organizations_url":"https://api.github.com/users/kedarmhaswade/orgs","repos_url":"https://api.github.com/users/kedarmhaswade/repos","events_url":"https://api.github.com/users/kedarmhaswade/events{/privacy}","received_events_url":"https://api.github.com/users/kedarmhaswade/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-05T18:55:46Z","updated_at":"2016-01-06T19:30:06Z","closed_at":"2016-01-06T19:30:06Z","body":"```\r\nbash-3.2$ dx select --level VIEW\r\nAvailable projects (VIEW or higher):\r\n0) A (VIEW)\r\n1) B (VIEW)\r\n2) C (CONTRIBUTE)\r\n\r\nPick a numbered choice or \"m\" for more options: 1\r\nSetting current project to: B\r\nbash-3.2$ dx describe .\r\nDXCLIError: No matches found for .\r\n```\r\n\r\nI think this could be improved. `dx` already knows that my currently selected project is `2) B`. So, the character `.` should refer to that project. Is it possible to enhance `dx describe` behavior to this effect?"},"comment":{"url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/comments/169431312","html_url":"https://github.com/dnanexus/dx-toolkit/issues/120#issuecomment-169431312","issue_url":"https://api.github.com/repos/dnanexus/dx-toolkit/issues/120","id":169431312,"user":{"login":"psung","id":146557,"avatar_url":"https://avatars.githubusercontent.com/u/146557?v=3","gravatar_id":"","url":"https://api.github.com/users/psung","html_url":"https://github.com/psung","followers_url":"https://api.github.com/users/psung/followers","following_url":"https://api.github.com/users/psung/following{/other_user}","gists_url":"https://api.github.com/users/psung/gists{/gist_id}","starred_url":"https://api.github.com/users/psung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psung/subscriptions","organizations_url":"https://api.github.com/users/psung/orgs","repos_url":"https://api.github.com/users/psung/repos","events_url":"https://api.github.com/users/psung/events{/privacy}","received_events_url":"https://api.github.com/users/psung/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T19:30:06Z","updated_at":"2016-01-06T19:30:06Z","body":"\".\" refers to a folder (the root directory of project B); folders aren't first-class objects in the platform, and as such, they can't be described. If you wish to describe the project, you can use either of the following:\r\n\r\n```\r\ndx describe :  # describe the current project\r\ndx describe \"B:\"  # describe any project, identified by its name\r\n```\r\n"}}