コード例 #1
0
        /// <summary>
        /// executes the close of the current command handler <see cref="CommandHandler"/>
        /// </summary>
        public static void ExecuteClose()
        {
            var response = ConsoleX.WriteCheck($"Are you sure you want to close the { Handler.CurrentCommandBranchName } command handler?");

            if (response)
            {
                Handler.CloseCurrentListener = true;
            }
        }