コード例 #1
0
        internal void ConfigureForDefaultCommand <TRunInfo>(DefaultCommand <TRunInfo> defaultCommand)
            where TRunInfo : class
        {
            string helpText = HelpBuilder.BuildFor(defaultCommand, _programName);

            _defaultCommandInfo = helpText;
        }
コード例 #2
0
        internal void ConfigureForCommand <TRunInfo>(Command <TRunInfo> command)
            where TRunInfo : class
        {
            string helpText = HelpBuilder.BuildFor(command, _programName);

            _commandInfos.Add(helpText);
        }