{"action":"created","issue":{"url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/75","labels_url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/75/comments","events_url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/75/events","html_url":"https://github.com/loadsys/CakePHP-Skeleton/issues/75","id":56091403,"number":75,"title":"Better tokens with default values","user":{"login":"alecho","id":1035853,"avatar_url":"https://avatars.githubusercontent.com/u/1035853?v=3","gravatar_id":"","url":"https://api.github.com/users/alecho","html_url":"https://github.com/alecho","followers_url":"https://api.github.com/users/alecho/followers","following_url":"https://api.github.com/users/alecho/following{/other_user}","gists_url":"https://api.github.com/users/alecho/gists{/gist_id}","starred_url":"https://api.github.com/users/alecho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecho/subscriptions","organizations_url":"https://api.github.com/users/alecho/orgs","repos_url":"https://api.github.com/users/alecho/repos","events_url":"https://api.github.com/users/alecho/events{/privacy}","received_events_url":"https://api.github.com/users/alecho/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-30T22:10:35Z","updated_at":"2015-01-30T22:34:08Z","closed_at":null,"body":"I'd like to see token be able to have a default value for when scripts are run non-interactivly or if the user is <kbd>return</kbd> happy.\r\n\r\nI'm proposing that tokens be switched from `_{2}[A-Z0-9_]*_{2}` to  `\\{{2}([A-Z0-9_]+)(:(.*))?\\}{2}`. This would make tokens look like {{TOKEN:default}} or just {{TOKEN}}instead of __TOKEN__ and allow for handy default values in templates."},"comment":{"url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/comments/72282312","html_url":"https://github.com/loadsys/CakePHP-Skeleton/issues/75#issuecomment-72282312","issue_url":"https://api.github.com/repos/loadsys/CakePHP-Skeleton/issues/75","id":72282312,"user":{"login":"beporter","id":637270,"avatar_url":"https://avatars.githubusercontent.com/u/637270?v=3","gravatar_id":"","url":"https://api.github.com/users/beporter","html_url":"https://github.com/beporter","followers_url":"https://api.github.com/users/beporter/followers","following_url":"https://api.github.com/users/beporter/following{/other_user}","gists_url":"https://api.github.com/users/beporter/gists{/gist_id}","starred_url":"https://api.github.com/users/beporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beporter/subscriptions","organizations_url":"https://api.github.com/users/beporter/orgs","repos_url":"https://api.github.com/users/beporter/repos","events_url":"https://api.github.com/users/beporter/events{/privacy}","received_events_url":"https://api.github.com/users/beporter/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T22:34:08Z","updated_at":"2015-01-30T22:34:08Z","body":"Otherwise I fully endorse this idea."}}