{"action":"created","issue":{"url":"https://api.github.com/repos/openscore/score-language/issues/64","labels_url":"https://api.github.com/repos/openscore/score-language/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/openscore/score-language/issues/64/comments","events_url":"https://api.github.com/repos/openscore/score-language/issues/64/events","html_url":"https://github.com/openscore/score-language/issues/64","id":55830845,"number":64,"title":"Quiet mode for slang-cli 'run' command","user":{"login":"okitac","id":10746606,"avatar_url":"https://avatars.githubusercontent.com/u/10746606?v=3","gravatar_id":"","url":"https://api.github.com/users/okitac","html_url":"https://github.com/okitac","followers_url":"https://api.github.com/users/okitac/followers","following_url":"https://api.github.com/users/okitac/following{/other_user}","gists_url":"https://api.github.com/users/okitac/gists{/gist_id}","starred_url":"https://api.github.com/users/okitac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okitac/subscriptions","organizations_url":"https://api.github.com/users/okitac/orgs","repos_url":"https://api.github.com/users/okitac/repos","events_url":"https://api.github.com/users/okitac/events{/privacy}","received_events_url":"https://api.github.com/users/okitac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-28T23:12:17Z","updated_at":"2015-01-29T17:09:18Z","closed_at":null,"body":"'run' currently prints out volumes of extra information that would be very awkward to use as part of a script, or anything else that parses results, eg:\r\n\r\n```text\r\n$ ../score-lang-cli/slang/bin/slang run division.sl --i input1=10,input2=-1\r\nDatabase name is: H2 databaseMajorVersion is: 1\r\n- divider\r\n- printer\r\n10/-1 = -10.0\r\nFlow : division finished with result : SUCCESS\r\nJan 28, 2015 6:00:22 PM org.springframework.shell.core.AbstractShell handleExecutionResult\r\nINFO: Flow execution time took  0:00:03.158 , with execution id : 101600001\r\n```\r\nA quiet mode, that only returns what is specified as output by the flow would be very useful.  In this case, that would be:\r\n```\r\n10/-1 = -10.0\r\n```\r\nAdditionally (and I'll file a separate issue on this), it would be a major plus if the exit code reflected the success or failure of the flow."},"comment":{"url":"https://api.github.com/repos/openscore/score-language/issues/comments/72063340","html_url":"https://github.com/openscore/score-language/issues/64#issuecomment-72063340","issue_url":"https://api.github.com/repos/openscore/score-language/issues/64","id":72063340,"user":{"login":"okitac","id":10746606,"avatar_url":"https://avatars.githubusercontent.com/u/10746606?v=3","gravatar_id":"","url":"https://api.github.com/users/okitac","html_url":"https://github.com/okitac","followers_url":"https://api.github.com/users/okitac/followers","following_url":"https://api.github.com/users/okitac/following{/other_user}","gists_url":"https://api.github.com/users/okitac/gists{/gist_id}","starred_url":"https://api.github.com/users/okitac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okitac/subscriptions","organizations_url":"https://api.github.com/users/okitac/orgs","repos_url":"https://api.github.com/users/okitac/repos","events_url":"https://api.github.com/users/okitac/events{/privacy}","received_events_url":"https://api.github.com/users/okitac/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T17:09:18Z","updated_at":"2015-01-29T17:09:18Z","body":"@meirwah This gets back to one of my questions around \"What are we supposed to use this for\"?\r\n\r\nIf the expectation is that slang-cli is primarily an authoring tool, that makes sense -- but if we're expecting that slang-cli is a runtime scripting tool, which can also be used for authoring, that changes things.\r\n\r\nMy suggestion would be that the default in the slang-cli shell would be verbose, but the default when invoking a flow at the command line would be silent (inside slang-cli, I'd presume active authoring -- outside I'd presume being run as a utility, so to speak)."}}