{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":241928033,"defaultBranch":"main","name":"swift-argument-parser","ownerLogin":"apple","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-02-20T16:07:00.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/10639145?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1721325847.0","currentOid":""},"activityList":{"items":[{"before":"41982a3656a71c768319979febd796c6fd111d5c","after":"e3d8a3dd42079ac0d3429246a59602c6f6bf9a21","ref":"refs/heads/main","pushedAt":"2024-07-29T20:55:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Add missing @Flag initializer in example (#657)\n\nThe documentation as presented doesn't compile. An initializer is\r\nrequired for a boolean flag.\r\n\r\nrdar://132579907\r\n\r\nCo-authored-by: Christian Goetze ","shortMessageHtmlLink":"Add missing @Flag initializer in example (#657)"}},{"before":"35b8e1824eea5c4de3a2441b3218730b7de7e9b4","after":null,"ref":"refs/heads/changelog_1.5","pushedAt":"2024-07-18T17:46:39.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"}},{"before":"4a2e245ad5169e0ef8befc4c1590d8cb6d548e73","after":"41982a3656a71c768319979febd796c6fd111d5c","ref":"refs/heads/main","pushedAt":"2024-07-18T17:46:38.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Update CHANGELOG for the 1.5 release. (#654)","shortMessageHtmlLink":"Update CHANGELOG for the 1.5 release. (#654)"}},{"before":"e09d46042b5e4718bd7e040733fb6bb71c2415f6","after":"35b8e1824eea5c4de3a2441b3218730b7de7e9b4","ref":"refs/heads/changelog_1.5","pushedAt":"2024-07-18T17:43:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Fix link reference typo","shortMessageHtmlLink":"Fix link reference typo"}},{"before":null,"after":"e09d46042b5e4718bd7e040733fb6bb71c2415f6","ref":"refs/heads/changelog_1.5","pushedAt":"2024-07-18T17:37:05.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Update CHANGELOG for the 1.5 release.","shortMessageHtmlLink":"Update CHANGELOG for the 1.5 release."}},{"before":"bb10ca8b70fe54c67a1b3adb0f5d58341dc2ed7b","after":"4a2e245ad5169e0ef8befc4c1590d8cb6d548e73","ref":"refs/heads/main","pushedAt":"2024-07-16T21:38:41.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Import new Android overlay (#651)","shortMessageHtmlLink":"Import new Android overlay (#651)"}},{"before":"b8efa796a5eb1659a3553f967ef724b6fe0f9c2d","after":null,"ref":"refs/heads/swift6-support","pushedAt":"2024-07-15T22:37:39.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"}},{"before":"6a7abc050b4504bc9a242af409f293e7454979b5","after":"bb10ca8b70fe54c67a1b3adb0f5d58341dc2ed7b","ref":"refs/heads/main","pushedAt":"2024-07-15T22:37:38.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Updates to support Swift 6 language version (#650)\n\nSome minor NFC changes to resolve strict concurrency checking\r\nwarnings/errors and the warning about the change in meaning for\r\n`#file`.","shortMessageHtmlLink":"Updates to support Swift 6 language version (#650)"}},{"before":"707c3ed1345386aadeb829ce65f7265aeeca39b5","after":"b8efa796a5eb1659a3553f967ef724b6fe0f9c2d","ref":"refs/heads/swift6-support","pushedAt":"2024-07-15T21:06:35.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Merge branch 'main' into swift6-support","shortMessageHtmlLink":"Merge branch 'main' into swift6-support"}},{"before":"d66d015418b94d5b605c59ed84c69aca14dead50","after":"6a7abc050b4504bc9a242af409f293e7454979b5","ref":"refs/heads/main","pushedAt":"2024-07-05T19:17:14.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"add support for riscv64 (#649)","shortMessageHtmlLink":"add support for riscv64 (#649)"}},{"before":"81ac87218685126f8ce971c025b68c2883bfa818","after":"d66d015418b94d5b605c59ed84c69aca14dead50","ref":"refs/heads/main","pushedAt":"2024-07-04T05:52:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Fix zsh/bash completions for arguments in option groups with a custom completion (#648)\n\n* Added conversion for InputKey to/from fullPathString.\r\n\r\n* Updated custom completions to use the IndexKey.fullPathString.\r\n\r\nThis resolves an issue where custom completion for arguments in an OptionGroup would fail to match the argument. It was caused by:\r\n- the completion script only using the name of the argument (instead of the full path)\r\n- the CommandParser looking for the matching argument by comparing a name only IndexKey with the “full” IndexKeys\r\n\r\n* Updated BashCompletionsGenerator to use customCompletionCall.\r\n\r\nThe zsh completions already uses this function. The function’s implementation is the same as what the BashCompletionsGenerator is doing. This removes the duplicated logic.\r\n\r\n* Updated completion tests to include nested arguments with custom completions.\r\n\r\n* Switched to using the split method from the stdlib.\r\n\r\nPrevously was using .components(seperatedBy:) from Foundation.\r\n\r\n* Updated the fish completions to include arguments","shortMessageHtmlLink":"Fix zsh/bash completions for arguments in option groups with a custom…"}},{"before":"4d1bddcfd6ca1a60a7d3fbf707145cdde4a3de08","after":"707c3ed1345386aadeb829ce65f7265aeeca39b5","ref":"refs/heads/swift6-support","pushedAt":"2024-06-28T16:51:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Mark non-Darwin platforms as preconcurrency","shortMessageHtmlLink":"Mark non-Darwin platforms as preconcurrency"}},{"before":"30a77772574d09f2e88ec5c2972438f331d5fff1","after":"4d1bddcfd6ca1a60a7d3fbf707145cdde4a3de08","ref":"refs/heads/swift6-support","pushedAt":"2024-06-27T20:38:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Two more warnings fixes","shortMessageHtmlLink":"Two more warnings fixes"}},{"before":null,"after":"30a77772574d09f2e88ec5c2972438f331d5fff1","ref":"refs/heads/swift6-support","pushedAt":"2024-06-27T20:24:03.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Updates to support Swift 6 language version\n\nSome minor NFC changes to resolve strict concurrency checking\nwarnings/errors and the warning about the change in meaning for\n`#file`.","shortMessageHtmlLink":"Updates to support Swift 6 language version"}},{"before":"0ff4b13607465f14a3cb92c3f290a4578e76d538","after":null,"ref":"refs/heads/cmake-command-group","pushedAt":"2024-06-05T01:43:26.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"DougGregor","name":"Doug Gregor","path":"/DougGregor","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/989428?s=80&v=4"}},{"before":"516c2f80f777393e990b1859b249011f3a63faff","after":"81ac87218685126f8ce971c025b68c2883bfa818","ref":"refs/heads/main","pushedAt":"2024-06-05T01:43:25.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"DougGregor","name":"Doug Gregor","path":"/DougGregor","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/989428?s=80&v=4"},"commit":{"message":"Update CMake for new file CommandGroup.swift (#645)","shortMessageHtmlLink":"Update CMake for new file CommandGroup.swift (#645)"}},{"before":"99cebb709c4826b816d014de19c1066aabf5c2d6","after":"0ff4b13607465f14a3cb92c3f290a4578e76d538","ref":"refs/heads/cmake-command-group","pushedAt":"2024-06-05T00:47:59.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"DougGregor","name":"Doug Gregor","path":"/DougGregor","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/989428?s=80&v=4"},"commit":{"message":"Update CMake for new file CommandGroup.swift","shortMessageHtmlLink":"Update CMake for new file CommandGroup.swift"}},{"before":null,"after":"99cebb709c4826b816d014de19c1066aabf5c2d6","ref":"refs/heads/cmake-command-group","pushedAt":"2024-06-05T00:46:44.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"DougGregor","name":"Doug Gregor","path":"/DougGregor","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/989428?s=80&v=4"},"commit":{"message":"Update CMake for new file CommandGroup.swift","shortMessageHtmlLink":"Update CMake for new file CommandGroup.swift"}},{"before":"eb2e7c14f3ba60755890b7098e07d286c1482d5e","after":null,"ref":"refs/heads/subcommand-groups","pushedAt":"2024-06-04T21:48:52.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dickoff","name":"Matt Dickoff","path":"/dickoff","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/423044?s=80&v=4"}},{"before":"6c2ab1a475a980a46a2363738eb651bdd599c27f","after":null,"ref":"refs/heads/command-groups-help","pushedAt":"2024-06-04T21:33:43.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"DougGregor","name":"Doug Gregor","path":"/DougGregor","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/989428?s=80&v=4"}},{"before":"0fbc8848e389af3bb55c182bc19ca9d5dc2f255b","after":"516c2f80f777393e990b1859b249011f3a63faff","ref":"refs/heads/main","pushedAt":"2024-06-04T21:33:42.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"DougGregor","name":"Doug Gregor","path":"/DougGregor","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/989428?s=80&v=4"},"commit":{"message":"Introduce subcommand grouping into the command configuration to improve help (#644)\n\n* Introduce subcommand grouping into the command configuration to improve help\r\n\r\nAdd optional support for grouping subcommands into named groups, to\r\nhelp bring order to commands with many subcommands without requiring\r\nadditional structure. For example, here's the help for a\r\n\"subgroupings\" command that has an ungrouped subcommand (m), and two\r\ngroups of subcommands (\"broken\" and \"complicated\").\r\n\r\n USAGE: subgroupings \r\n\r\n OPTIONS:\r\n -h, --help Show help information.\r\n\r\n SUBCOMMANDS:\r\n m\r\n\r\n BROKEN SUBCOMMANDS:\r\n foo Perform some foo\r\n bar Perform bar operations\r\n\r\n COMPLICATED SUBCOMMANDS:\r\n n\r\n\r\n See 'subgroupings help ' for detailed help.\r\n\r\nTo be able freely mix subcommands and subcommand groups, CommandConfiguration\r\nhas a new initializer that takes a result builder. The help output\r\nabove is created like this:\r\n\r\n struct WithSubgroups: ParsableCommand {\r\n static let configuration = CommandConfiguration(\r\n commandName: \"subgroupings\"\r\n ) {\r\n CommandGroup(name: \"Broken\") {\r\n Foo.self\r\n Bar.self\r\n }\r\n\r\n M.self\r\n\r\n CommandGroup(name: \"Complicated\") {\r\n N.self\r\n }\r\n }\r\n }\r\n\r\nEach `CommandGroup` names a new group and is given commands (there are\r\nno groups within groups). The other entries are arbitrary\r\nParsableCommands.\r\n\r\nThis structure is only cosmetic, and only affects help generation by\r\nproviding more structure for the reader. It doesn't impact existing\r\nclients, who can still reason about the flattened list of subcommands\r\nif they prefer.\r\n\r\n* Add an optional abstract to command groups\r\n\r\n* Expand subcommand group result builders to handle all result-builder syntax\r\n\r\nAdds support for if, if-else, if #available, and for..in loops.\r\n\r\n* Revert \"Add an optional abstract to command groups\"\r\n\r\nThis reverts commit ab563a22c0884b0ede95110d523e5f4e1fa2291d.\r\n\r\n* Eliminate result builders in favor of a second \"groupedSubcommands\" array\r\n\r\nIntroduce subcommand groups with a more modest extension to the API that\r\nadds another array of subcommand groups alongside the (ungrouped)\r\nsubcommands array. We can consider introducing result builders as a\r\nseparate step later, if there's more to be gained from it.\r\n\r\n* Drop the (ungrouped) \"subcommands\" heading when there are none.","shortMessageHtmlLink":"Introduce subcommand grouping into the command configuration to impro…"}},{"before":"03cd0751f310d9bf2411b86434242bcdf522e359","after":"6c2ab1a475a980a46a2363738eb651bdd599c27f","ref":"refs/heads/command-groups-help","pushedAt":"2024-06-04T04:58:50.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"DougGregor","name":"Doug Gregor","path":"/DougGregor","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/989428?s=80&v=4"},"commit":{"message":"Drop the (ungrouped) \"subcommands\" heading when there are none.","shortMessageHtmlLink":"Drop the (ungrouped) \"subcommands\" heading when there are none."}},{"before":"ab563a22c0884b0ede95110d523e5f4e1fa2291d","after":"03cd0751f310d9bf2411b86434242bcdf522e359","ref":"refs/heads/command-groups-help","pushedAt":"2024-06-03T05:02:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DougGregor","name":"Doug Gregor","path":"/DougGregor","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/989428?s=80&v=4"},"commit":{"message":"Expand subcommand group result builders to handle all result-builder syntax\n\nAdds support for if, if-else, if #available, and for..in loops.","shortMessageHtmlLink":"Expand subcommand group result builders to handle all result-builder …"}},{"before":"b01335522fad10db4051e2ba0d518907d5c4e87c","after":"ab563a22c0884b0ede95110d523e5f4e1fa2291d","ref":"refs/heads/command-groups-help","pushedAt":"2024-06-03T04:49:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DougGregor","name":"Doug Gregor","path":"/DougGregor","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/989428?s=80&v=4"},"commit":{"message":"Add an optional abstract to command groups","shortMessageHtmlLink":"Add an optional abstract to command groups"}},{"before":null,"after":"eb2e7c14f3ba60755890b7098e07d286c1482d5e","ref":"refs/heads/subcommand-groups","pushedAt":"2024-06-03T03:09:05.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dickoff","name":"Matt Dickoff","path":"/dickoff","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/423044?s=80&v=4"},"commit":{"message":"Allow for grouping of subcommands to improve help out\n\nWIP: introduces API to group subcommands so that they are printed\ntogether in help","shortMessageHtmlLink":"Allow for grouping of subcommands to improve help out"}},{"before":null,"after":"b01335522fad10db4051e2ba0d518907d5c4e87c","ref":"refs/heads/command-groups-help","pushedAt":"2024-06-02T23:44:34.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"DougGregor","name":"Doug Gregor","path":"/DougGregor","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/989428?s=80&v=4"},"commit":{"message":"Introduce subcommand grouping into the command configuration to improve help\n\nAdd optional support for grouping subcommands into named groups, to\nhelp bring order to commands with many subcommands without requiring\nadditional structure. For example, here's the help for a\n\"subgroupings\" command that has an ungrouped subcommand (m), and two\ngroups of subcommands (\"broken\" and \"complicated\").\n\n USAGE: subgroupings \n\n OPTIONS:\n -h, --help Show help information.\n\n SUBCOMMANDS:\n m\n\n BROKEN SUBCOMMANDS:\n foo Perform some foo\n bar Perform bar operations\n\n COMPLICATED SUBCOMMANDS:\n n\n\n See 'subgroupings help ' for detailed help.\n\nTo be able freely mix subcommands and subcommand groups, CommandConfiguration\nhas a new initializer that takes a result builder. The help output\nabove is created like this:\n\n struct WithSubgroups: ParsableCommand {\n static let configuration = CommandConfiguration(\n commandName: \"subgroupings\"\n ) {\n CommandGroup(name: \"Broken\") {\n Foo.self\n Bar.self\n }\n\n M.self\n\n CommandGroup(name: \"Complicated\") {\n N.self\n }\n }\n }\n\nEach `CommandGroup` names a new group and is given commands (there are\nno groups within groups). The other entries are arbitrary\nParsableCommands.\n\nThis structure is only cosmetic, and only affects help generation by\nproviding more structure for the reader. It doesn't impact existing\nclients, who can still reason about the flattened list of subcommands\nif they prefer.","shortMessageHtmlLink":"Introduce subcommand grouping into the command configuration to impro…"}},{"before":"331cc67a7d823af71d5f59ca536bd718dc8ddb13","after":null,"ref":"refs/heads/release/1.4.0","pushedAt":"2024-05-21T22:50:00.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"rauhul","name":"Rauhul Varma","path":"/rauhul","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9739930?s=80&v=4"}},{"before":"29b3d39e163d5ddfd4c710cde34bb036497b991b","after":"0fbc8848e389af3bb55c182bc19ca9d5dc2f255b","ref":"refs/heads/main","pushedAt":"2024-05-21T22:49:59.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"rauhul","name":"Rauhul Varma","path":"/rauhul","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9739930?s=80&v=4"},"commit":{"message":"Update CHANGELOG for release 1.4.0 (#640)","shortMessageHtmlLink":"Update CHANGELOG for release 1.4.0 (#640)"}},{"before":null,"after":"331cc67a7d823af71d5f59ca536bd718dc8ddb13","ref":"refs/heads/release/1.4.0","pushedAt":"2024-05-21T22:21:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"rauhul","name":"Rauhul Varma","path":"/rauhul","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9739930?s=80&v=4"},"commit":{"message":"Update CHANGELOG for release 1.4.0","shortMessageHtmlLink":"Update CHANGELOG for release 1.4.0"}},{"before":"01713559ec74b5c6b8c46d3e24ad58612eabfd96","after":"dcca1fb1611ec85f7c44897978ac92fee0f7ec08","ref":"refs/heads/option-tuples","pushedAt":"2024-05-17T19:02:29.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"natecook1000","name":"Nate Cook","path":"/natecook1000","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7053374?s=80&v=4"},"commit":{"message":"Improve variadic parameter naming","shortMessageHtmlLink":"Improve variadic parameter naming"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0yOVQyMDo1NTozMC4wMDAwMDBazwAAAASMUosX","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNy0yOVQyMDo1NTozMC4wMDAwMDBazwAAAASMUosX","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNS0xN1QxOTowMjoyOS4wMDAwMDBazwAAAARNN_ji"}},"title":"Activity · apple/swift-argument-parser"}