Adds deploy confirm interaction
This commit is contained in:
parent
5fbf538eb6
commit
cccf9e426c
|
@ -35,6 +35,13 @@ public class Program
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!args.Any(a => a == "-y"))
|
||||||
|
{
|
||||||
|
Console.WriteLine("Does the above config look good? [y/n]");
|
||||||
|
if (Console.ReadLine()!.ToLowerInvariant() != "y") return;
|
||||||
|
Console.WriteLine("I think so too.");
|
||||||
|
}
|
||||||
|
|
||||||
var deployer = new Deployer(config);
|
var deployer = new Deployer(config);
|
||||||
var deployment = deployer.Deploy();
|
var deployment = deployer.Deploy();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue