mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 12:58:39 +00:00
Added parameter checking for Directory.GetDirectories and Directory.GetFiles plugs. Lots of changes to FrodeTest.
27 lines
680 B
C#
27 lines
680 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace FrodeTest.Application
|
|
{
|
|
interface IConsoleApplication
|
|
{
|
|
/// <summary>
|
|
/// Runs the command.
|
|
/// </summary>
|
|
/// <param name="args"></param>
|
|
/// <returns>0 for success, negative number for general error</returns>
|
|
int Execute(string[] args);
|
|
|
|
/// <summary>
|
|
/// The single-word command.
|
|
/// </summary>
|
|
string CommandName { get; }
|
|
|
|
/// <summary>
|
|
/// A descriptive text for this command.
|
|
/// </summary>
|
|
string Description { get; }
|
|
}
|
|
}
|