using CommandLine;
using Microsoft.VisualStudio.Services.Agent;

namespace Agent.Listener.CommandLine
{
    // Default Non-Requried Verb
    [Verb(Constants.Agent.CommandLine.Commands.Run)]
    public class RunAgent : BaseCommand
    {
        [Option(Constants.Agent.CommandLine.Flags.Commit)]
        public bool Commit { get; set; }

        [Option(Constants.Agent.CommandLine.Flags.Diagnostics)]
        public bool Diagnostics { get; set; }

        [Option(Constants.Agent.CommandLine.Flags.Once)]
        public bool RunOnce { get; set; }

        [Option(Constants.Agent.CommandLine.Args.StartupType)]
        public string StartupType { get; set; }
    }
}
