-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve stack cleanup and delete (#61)
- Loading branch information
1 parent
aaa6570
commit f47b0bc
Showing
5 changed files
with
34 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
using Spectre.Console; | ||
using Stack.Config; | ||
using Stack.Infrastructure; | ||
|
||
namespace Stack.Commands.Helpers; | ||
|
||
public static class Questions | ||
{ | ||
public const string SelectStack = "Select stack:"; | ||
public const string ConfirmDeleteStack = "Are you sure you want to delete this stack?"; | ||
public static string ConfirmDeleteStack(string name) => $"Are you sure you want to delete stack {name.Stack()}?"; | ||
public const string ConfirmDeleteBranches = "Are you sure you want to delete these local branches?"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters