aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/getopt/small/completer_command.h
blob: 974cc4617c1e04c3145362ab57942e9df07182ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include "modchooser.h"

namespace NLastGetopt {
    /// Create an option that generates completion.
    TOpt MakeCompletionOpt(const TOpts* opts, TString command, TString optName = "completion");

    /// Create a mode that generates completion.
    THolder<TMainClassArgs> MakeCompletionMod(const TModChooser* modChooser, TString command, TString modName = "completion");
}