{"action":"created","issue":{"url":"https://api.github.com/repos/cheshirekow/cmake_format/issues/74","repository_url":"https://api.github.com/repos/cheshirekow/cmake_format","labels_url":"https://api.github.com/repos/cheshirekow/cmake_format/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/cheshirekow/cmake_format/issues/74/comments","events_url":"https://api.github.com/repos/cheshirekow/cmake_format/issues/74/events","html_url":"https://github.com/cheshirekow/cmake_format/issues/74","id":368278260,"node_id":"MDU6SXNzdWUzNjgyNzgyNjA=","number":74,"title":"shebang in cmake scripts","user":{"login":"Chingyat","id":10750252,"node_id":"MDQ6VXNlcjEwNzUwMjUy","avatar_url":"https://avatars3.githubusercontent.com/u/10750252?v=4","gravatar_id":"","url":"https://api.github.com/users/Chingyat","html_url":"https://github.com/Chingyat","followers_url":"https://api.github.com/users/Chingyat/followers","following_url":"https://api.github.com/users/Chingyat/following{/other_user}","gists_url":"https://api.github.com/users/Chingyat/gists{/gist_id}","starred_url":"https://api.github.com/users/Chingyat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chingyat/subscriptions","organizations_url":"https://api.github.com/users/Chingyat/orgs","repos_url":"https://api.github.com/users/Chingyat/repos","events_url":"https://api.github.com/users/Chingyat/events{/privacy}","received_events_url":"https://api.github.com/users/Chingyat/received_events","type":"User","site_admin":false},"labels":[{"id":972670654,"node_id":"MDU6TGFiZWw5NzI2NzA2NTQ=","url":"https://api.github.com/repos/cheshirekow/cmake_format/labels/acknowledged","name":"acknowledged","color":"68b1c9","default":false},{"id":972669979,"node_id":"MDU6TGFiZWw5NzI2Njk5Nzk=","url":"https://api.github.com/repos/cheshirekow/cmake_format/labels/feature-request","name":"feature-request","color":"7bfcad","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-09T15:48:35Z","updated_at":"2018-10-10T18:51:36Z","closed_at":null,"author_association":"NONE","body":"Hi.\r\n\r\nI have a cmake script with a shebang on the first line, like\r\n\r\n```cmake\r\n#!/use/bin/cmake -P\r\n```\r\nAfter running `cmake-format` on this file, it becomes\r\n\r\n```\r\n# !/usr/bin/cmake -P\r\n```\r\nIs it possible to preserve the shebang without totally disabling comment formatting?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cheshirekow/cmake_format/issues/comments/428688900","html_url":"https://github.com/cheshirekow/cmake_format/issues/74#issuecomment-428688900","issue_url":"https://api.github.com/repos/cheshirekow/cmake_format/issues/74","id":428688900,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODY4ODkwMA==","user":{"login":"cheshirekow","id":1309820,"node_id":"MDQ6VXNlcjEzMDk4MjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1309820?v=4","gravatar_id":"","url":"https://api.github.com/users/cheshirekow","html_url":"https://github.com/cheshirekow","followers_url":"https://api.github.com/users/cheshirekow/followers","following_url":"https://api.github.com/users/cheshirekow/following{/other_user}","gists_url":"https://api.github.com/users/cheshirekow/gists{/gist_id}","starred_url":"https://api.github.com/users/cheshirekow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheshirekow/subscriptions","organizations_url":"https://api.github.com/users/cheshirekow/orgs","repos_url":"https://api.github.com/users/cheshirekow/repos","events_url":"https://api.github.com/users/cheshirekow/events{/privacy}","received_events_url":"https://api.github.com/users/cheshirekow/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T18:51:36Z","updated_at":"2018-10-10T18:51:36Z","author_association":"OWNER","body":"Ok, the error with `--literal-comment-pattern` I think is a mishandling of the argparse setup. You can use the same option from a config file if you want to give it a try. Otherwise it sounds like `--first-comment-is-literal` will work for you for now. "}}
{"actor":{"display_login":"cheshirekow"}}