{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":703535529,"defaultBranch":"main","name":"cobra","ownerLogin":"kajes","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-10-11T12:28:06.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/22004482?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1697028260.0","currentOid":""},"activityList":{"items":[{"before":"95d8a1e45d7719c56dc017e075d3e6099deba85d","after":"a0a6ae020bb3899ff0276067863e50523f897370","ref":"refs/heads/main","pushedAt":"2023-11-06T09:04:57.000Z","pushType":"push","commitsCount":10,"pusher":{"login":"kajes","name":"Lars Kajes","path":"/kajes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22004482?s=80&v=4"},"commit":{"message":"Improve API to get flag completion function (#2063)\n\nThe new API is simpler and matches the `c.RegisterFlagCompletionFunc()`\r\nAPI. By removing the global function `GetFlagCompletion()` we are more\r\nfuture proof if we ever move from a global map of flag completion\r\nfunctions to something associated with the command.\r\n\r\nThe commit also makes this API work with persistent flags by using\r\n`c.Flag(flagName)` instead of `c.Flags().Lookup(flagName)`.\r\n\r\nThe commit also adds unit tests.\r\n\r\nSigned-off-by: Marc Khouzam ","shortMessageHtmlLink":"Improve API to get flag completion function (spf13#2063)"}},{"before":"44242f9e609f6b3b0b3a342fe396e0471eb35a23","after":"b28f2326ca5cf8402907ce3531c5cd3ec6919b52","ref":"refs/heads/doc-gen-inconsistencies","pushedAt":"2023-11-06T08:34:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kajes","name":"Lars Kajes","path":"/kajes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22004482?s=80&v=4"},"commit":{"message":"Revert back to 'Global Flags'","shortMessageHtmlLink":"Revert back to 'Global Flags'"}},{"before":null,"after":"44242f9e609f6b3b0b3a342fe396e0471eb35a23","ref":"refs/heads/doc-gen-inconsistencies","pushedAt":"2023-10-11T12:44:20.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"kajes","name":"Lars Kajes","path":"/kajes","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/22004482?s=80&v=4"},"commit":{"message":"falgs are inherited, not global","shortMessageHtmlLink":"falgs are inherited, not global"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADqDN2rwA","startCursor":null,"endCursor":null}},"title":"Activity ยท kajes/cobra"}