| 37 | }; |
| 38 | |
| 39 | class TBashCompletionGenerator: public TCompletionGenerator { |
| 40 | public: |
| 41 | using TCompletionGenerator::TCompletionGenerator; |
| 42 | |
| 43 | public: |
| 44 | void Generate(TStringBuf command, IOutputStream& stream) override; |
| 45 | |
| 46 | private: |
| 47 | static void GenerateModesCompletion(TFormattedOutput& out, const TModChooser& chooser, NComp::TCompleterManager& manager, size_t level); |
| 48 | static void GenerateOptsCompletion(TFormattedOutput& out, const TOpts& opts, NComp::TCompleterManager& manager, size_t level); |
| 49 | static void GenerateDefaultOptsCompletion(TFormattedOutput& out, NComp::TCompleterManager& manager); |
| 50 | }; |
| 51 | |
| 52 | namespace NEscaping { |
| 53 | /// Escape ':', '-', '=', '[', ']' for use in zsh _arguments |
no outgoing calls
no test coverage detected