MCPcopy Create free account
hub / github.com/catboost/catboost / GenerateBash

Method GenerateBash

library/cpp/getopt/small/completer.cpp:294–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292 }
293
294 void GenerateBash(TFormattedOutput& out) const override {
295 L << "IFS=$'\\n'";
296 L << "COMPREPLY+=( $(compgen -W \"$(${words[@]} " << SpecialFlag << " " << Completer_->GetUniqueName() << " \"${cword}\" \"\" \"\" 2> /dev/null)\" -- ${cur}) )";
297 L << "IFS=$' \\t\\n'";
298 }
299
300 TStringBuf GenerateZshAction(TCompleterManager& manager) const override {
301 return manager.GetCompleterID(this);

Callers 2

GenerateBashMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected