{"action":"created","issue":{"url":"https://api.github.com/repos/c-blake/cligen/issues/70","repository_url":"https://api.github.com/repos/c-blake/cligen","labels_url":"https://api.github.com/repos/c-blake/cligen/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/c-blake/cligen/issues/70/comments","events_url":"https://api.github.com/repos/c-blake/cligen/issues/70/events","html_url":"https://github.com/c-blake/cligen/issues/70","id":386627277,"node_id":"MDU6SXNzdWUzODY2MjcyNzc=","number":70,"title":"escaping delimiter for a seq[string]","user":{"login":"timotheecour","id":2194784,"node_id":"MDQ6VXNlcjIxOTQ3ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2194784?v=4","gravatar_id":"","url":"https://api.github.com/users/timotheecour","html_url":"https://github.com/timotheecour","followers_url":"https://api.github.com/users/timotheecour/followers","following_url":"https://api.github.com/users/timotheecour/following{/other_user}","gists_url":"https://api.github.com/users/timotheecour/gists{/gist_id}","starred_url":"https://api.github.com/users/timotheecour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timotheecour/subscriptions","organizations_url":"https://api.github.com/users/timotheecour/orgs","repos_url":"https://api.github.com/users/timotheecour/repos","events_url":"https://api.github.com/users/timotheecour/events{/privacy}","received_events_url":"https://api.github.com/users/timotheecour/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-03T01:35:51Z","updated_at":"2018-12-03T20:50:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"right now there's a bit of an issue in escaping `,` (or whatever is used as delimiter), in case the param we give contains the delimiter (delimiter is controlled by cli author, but cli user may want to have a string that contains the delimiter, and there's no way to escape it right now)\r\n\r\n## proposal: escape delimiter x with \\x:\r\n```\r\n./app --foo.='foo\\,with\\,commas'\r\n```\r\nnote that to pass `\\` itself we can do: `\\\\`\r\n\r\n## alternative: new assignment syntax\r\nneed to support assign, append, prepend:\r\n```\r\n./app --foo|=foo,with\r\n./app --foo|^=foo,with\r\n./app --foo|+=foo,with\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/c-blake/cligen/issues/comments/443865227","html_url":"https://github.com/c-blake/cligen/issues/70#issuecomment-443865227","issue_url":"https://api.github.com/repos/c-blake/cligen/issues/70","id":443865227,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mzg2NTIyNw==","user":{"login":"c-blake","id":8928205,"node_id":"MDQ6VXNlcjg5MjgyMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/8928205?v=4","gravatar_id":"","url":"https://api.github.com/users/c-blake","html_url":"https://github.com/c-blake","followers_url":"https://api.github.com/users/c-blake/followers","following_url":"https://api.github.com/users/c-blake/following{/other_user}","gists_url":"https://api.github.com/users/c-blake/gists{/gist_id}","starred_url":"https://api.github.com/users/c-blake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c-blake/subscriptions","organizations_url":"https://api.github.com/users/c-blake/orgs","repos_url":"https://api.github.com/users/c-blake/repos","events_url":"https://api.github.com/users/c-blake/events{/privacy}","received_events_url":"https://api.github.com/users/c-blake/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T20:50:43Z","updated_at":"2018-12-03T20:50:43Z","author_association":"OWNER","body":"Also, we could \\\\-quote commas in default values in this new no-aggSplit setup.  This value would not be what a user is expected to enter, exactly, but it could mitigate confusion about what the default value actually is in the rare case it contains a comma.  None of the ,SV value strings listed in the help would be expected entry, anyway.  They'd be _expected_ to go `--opt A --opt B ...` or maybe with `^=`s or `@=`s in there if they wanted, which is what `--help-syntax` would tell them."}}
{"actor":{"display_login":"c-blake"}}