| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Introduce tags for free args in opt-parser | ilikepugs | 2025-12-23 | 1 | -0/+70 |
| | | | | | | | | | | ### Что случилось? - Появилась возможность размечать свободные аргументы тегами (хранятся как ui32-значения) - Теги могут быть статические (`.SetTag(ESomeTags::Tag1)`) и динамические (`.SetTag([] (const TString& a) {return a ? ESomeTags::Tag1 : ESomeTags::Tag2; })`). - После парсинга можно получить свободные аргументы с определенным тегом (`res.GetFreeArgs(ESomeTags::Tag1)`) commit_hash:c1a9d821da376538eb7e4251626052a9f03b941c | ||||
| * | Collect subcommand parts in getopt | ilikepugs | 2025-11-26 | 2 | -0/+66 |
| | | | | | | | | | | | | | | | | | #### Проблема Из TOptsParseResult сейчас невозможно понять, какую команду вызвали. Существует метод [GetProgrammName](https://nda.ya.ru/t/SdJXhPQC7NczPm, который частично решает эту задачу, однако: 1. Его поведение зависит от флага [PrintShortCommandInUsage](https://nda.ya.ru/t/3sh6_wPV7NczPt Выставление флага меняет вывод `help` 2. Даже с флагом метод отдает одну строку вместе с запускаемым бинарем. Если хочется отделить только submod'ы, то эту строку приходится сплитить. #### Решение Добавил всюду где нужно InvocationParts, которые заполняются по ходу парсинга входных аргументов. В конечном итоге эти parts передаются в TOptsParseResult, откуда могут быть получены вызывающей стороной. commit_hash:4cf72141552793b19a725b3d394b81215508b85f | ||||
| * | Intermediate changes | robot-piglet | 2025-09-04 | 1 | -0/+32 |
| | | | | | commit_hash:953617f2251dbf97b237f24d08a7b08816adb90b | ||||
| * | Intermediate changes | robot-piglet | 2025-09-03 | 1 | -36/+34 |
| | | | | | commit_hash:c0bcabe40fb4e3cad8e7b18076d6034df2bc5b49 | ||||
| * | [arc][getopt]fix enforcment of RequiredArgument().DisableSpaceParse() | tldr | 2024-11-21 | 1 | -0/+13 |
| | | | | | commit_hash:9c2ada5b95be3f810d2750406d74d839bd2598ff | ||||
| * | add ymake export to ydb | alexv-smirnov | 2023-06-13 | 1 | -0/+13 |
| | | |||||
| * | Revert ymake build from ydb oss export | alexv-smirnov | 2023-03-28 | 1 | -13/+0 |
| | | |||||
| * | add library/cpp/actors, ymake build to ydb oss export | alexv-smirnov | 2023-03-15 | 1 | -0/+13 |
| | | |||||
| * | Allow to use std::vector in AppendTo | ar7is7 | 2022-12-23 | 1 | -1/+7 |
| | | |||||
| * | [getopt] Add typo check for long options | lightqwant | 2022-09-01 | 1 | -0/+25 |
| | | |||||
| * | Allow skip arg in opt parser | bulatkhr | 2022-07-15 | 1 | -0/+34 |
| | | | | add UnnecessaryArgument | ||||
| * | intermediate changes | arcadia-devtools | 2022-03-15 | 1 | -15/+0 |
| | | | | | ref:ca7a95e8c9a9d780f96497136a152091d54e61b5 | ||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | nikkon | 2022-02-10 | 1 | -29/+29 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | nikkon | 2022-02-10 | 1 | -29/+29 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | steplg | 2022-02-10 | 1 | -5/+5 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | steplg | 2022-02-10 | 1 | -5/+5 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | moskupols | 2022-02-10 | 1 | -13/+13 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | moskupols | 2022-02-10 | 1 | -13/+13 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | amatanhead | 2022-02-10 | 3 | -104/+104 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | amatanhead | 2022-02-10 | 3 | -104/+104 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | alex-sh | 2022-02-10 | 1 | -10/+10 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | alex-sh | 2022-02-10 | 1 | -10/+10 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | yoda | 2022-02-10 | 1 | -14/+14 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | yoda | 2022-02-10 | 1 | -14/+14 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | chegoryu | 2022-02-10 | 1 | -24/+24 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | chegoryu | 2022-02-10 | 1 | -24/+24 |
| | | |||||
| * | Restoring authorship annotation for Alexey Salmin <[email protected]>. ↵ | Alexey Salmin | 2022-02-10 | 1 | -56/+56 |
| | | | | | Commit 2 of 2. | ||||
| * | Restoring authorship annotation for Alexey Salmin <[email protected]>. ↵ | Alexey Salmin | 2022-02-10 | 1 | -56/+56 |
| | | | | | Commit 1 of 2. | ||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | kaa | 2022-02-10 | 1 | -10/+10 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | kaa | 2022-02-10 | 1 | -10/+10 |
| | | |||||
| * | Restoring authorship annotation for Vasily Gerasimov ↵ | Vasily Gerasimov | 2022-02-10 | 1 | -55/+55 |
| | | | | | <[email protected]>. Commit 2 of 2. | ||||
| * | Restoring authorship annotation for Vasily Gerasimov ↵ | Vasily Gerasimov | 2022-02-10 | 1 | -55/+55 |
| | | | | | <[email protected]>. Commit 1 of 2. | ||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | dobrokot | 2022-02-10 | 1 | -24/+24 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | dobrokot | 2022-02-10 | 1 | -24/+24 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | nkmakarov | 2022-02-10 | 2 | -40/+40 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | nkmakarov | 2022-02-10 | 2 | -40/+40 |
| | | |||||
| * | Restoring authorship annotation for Arslan Urtashev <[email protected]>. ↵ | Arslan Urtashev | 2022-02-10 | 1 | -3/+3 |
| | | | | | Commit 2 of 2. | ||||
| * | Restoring authorship annotation for Arslan Urtashev <[email protected]>. ↵ | Arslan Urtashev | 2022-02-10 | 1 | -3/+3 |
| | | | | | Commit 1 of 2. | ||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | albert | 2022-02-10 | 2 | -44/+44 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | albert | 2022-02-10 | 2 | -44/+44 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | melkov | 2022-02-10 | 1 | -17/+17 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | melkov | 2022-02-10 | 1 | -17/+17 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | nga | 2022-02-10 | 4 | -439/+439 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | nga | 2022-02-10 | 4 | -439/+439 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | diver | 2022-02-10 | 1 | -10/+10 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | diver | 2022-02-10 | 1 | -10/+10 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | tobo | 2022-02-10 | 1 | -1/+1 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | tobo | 2022-02-10 | 1 | -1/+1 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 2 of 2. | agorodilov | 2022-02-10 | 2 | -14/+14 |
| | | |||||
| * | Restoring authorship annotation for <[email protected]>. Commit 1 of 2. | agorodilov | 2022-02-10 | 2 | -14/+14 |
| | | |||||
