{"action":"closed","issue":{"url":"https://api.github.com/repos/gsscoder/commandline/issues/137","labels_url":"https://api.github.com/repos/gsscoder/commandline/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/gsscoder/commandline/issues/137/comments","events_url":"https://api.github.com/repos/gsscoder/commandline/issues/137/events","html_url":"https://github.com/gsscoder/commandline/issues/137","id":44714949,"number":137,"title":"Using verbs, can the caller pass no arguments at all?","user":{"login":"JMerrill","id":1194073,"avatar_url":"https://avatars.githubusercontent.com/u/1194073?v=3","gravatar_id":"","url":"https://api.github.com/users/JMerrill","html_url":"https://github.com/JMerrill","followers_url":"https://api.github.com/users/JMerrill/followers","following_url":"https://api.github.com/users/JMerrill/following{/other_user}","gists_url":"https://api.github.com/users/JMerrill/gists{/gist_id}","starred_url":"https://api.github.com/users/JMerrill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMerrill/subscriptions","organizations_url":"https://api.github.com/users/JMerrill/orgs","repos_url":"https://api.github.com/users/JMerrill/repos","events_url":"https://api.github.com/users/JMerrill/events{/privacy}","received_events_url":"https://api.github.com/users/JMerrill/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-10-02T17:37:50Z","updated_at":"2015-06-25T15:17:03Z","closed_at":"2015-06-25T15:17:03Z","body":"I want to have the power of verbs, but allow the caller to pass nothing on the command line. I had hoped to do that by handling a null or empty verb, and doing whatever the default thing is.\r\n\r\nBut before the verb gets collected by the onVerbCommand delegate, the library has already displayed the list of commands that are available. I had hoped that it would only show the commands when \"help\" was passed as the command line.\r\n\r\nDo I have to test for args to be empty before calling the parser? That would be easy, but it the code structure would be completely different...\r\n\r\nThank you."}}