{"action":"created","issue":{"url":"https://api.github.com/repos/cake-build/resources/issues/30","repository_url":"https://api.github.com/repos/cake-build/resources","labels_url":"https://api.github.com/repos/cake-build/resources/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/cake-build/resources/issues/30/comments","events_url":"https://api.github.com/repos/cake-build/resources/issues/30/events","html_url":"https://github.com/cake-build/resources/pull/30","id":230568763,"number":30,"title":"Sync with Cake args, smarter defaults","user":{"login":"jnm2","id":8040367,"avatar_url":"https://avatars1.githubusercontent.com/u/8040367?v=3","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"labels":[{"id":447641367,"url":"https://api.github.com/repos/cake-build/resources/labels/cla-already-signed","name":"cla-already-signed","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-05-23T02:17:47Z","updated_at":"2017-06-10T18:00:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cake-build/resources/pulls/30","html_url":"https://github.com/cake-build/resources/pull/30","diff_url":"https://github.com/cake-build/resources/pull/30.diff","patch_url":"https://github.com/cake-build/resources/pull/30.patch"},"body":"All scripts should continue running the same as they have, but this opens some new doors.\r\nI think I found a really cool solution for existing headaches. Would you mind taking a look and seeing if these things are doable? \r\n\r\n\r\n#### Smarter defaults\r\n\r\n * If no target is specified, sends nothing to cake.exe instead of sending `--target=\"Default\"`.\r\n* If no configuration is specified, sends nothing to cake.exe instead of sending `--configuration=\"Release\"`.\r\n* If no verbosity is specified, sends nothing to cake.exe instead of sending `--verbosity=\"Verbose\"`.\r\n\r\n This allows you to set your own defaults by using `Argument(\"Target\", \"something-other-than-Default\")`, `Argument(\"Configuration\", \"something-other-than-Release\")`, `Argument(\"Verbosity\", \"something-other-than-Verbose\")` in your build scripts.\r\n\r\nAlso, it prevents this kind of error from showing up if you use `=` which the bootstrapper does not recognize but cake.exe does, e.g. `-configuration=Debug`:\r\n\r\n> Multiple arguments with the same name (configuration).\r\n\r\n#### Fixes configuration validation\r\n\r\nRetains tab completion without preventing you from using configurations other than `Debug` and `Release`.\r\n\r\n\r\n#### Syncs with Cake arguments\r\n\r\n * Adds `-showdescription`\r\n * Rotates the aliases `-DryRun` and `-WhatIf` to match cake.exe\r\n * Updates .PARAMETER descriptions to match cake.exe\r\n * Sorts parameters to match cake.exe"},"comment":{"url":"https://api.github.com/repos/cake-build/resources/issues/comments/307580788","html_url":"https://github.com/cake-build/resources/pull/30#issuecomment-307580788","issue_url":"https://api.github.com/repos/cake-build/resources/issues/30","id":307580788,"user":{"login":"jnm2","id":8040367,"avatar_url":"https://avatars1.githubusercontent.com/u/8040367?v=3","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"created_at":"2017-06-10T18:00:27Z","updated_at":"2017-06-10T18:00:27Z","body":"What is your opinion on https://github.com/cake-build/resources/pull/30/commits/2e5ca59aaf1fb9cd3261c8a41bc4c712d5350bba? As far as I can tell this is the only possible way to support PowerShell v2 without going back to `ValidateSet`."}}
{"actor":{"display_login":"jnm2"}}