Skip to content

Instantly share code, notes, and snippets.

@farukcan
Last active February 28, 2023 14:09
Show Gist options
  • Save farukcan/06cd5bf587bcdd807f0a9b6d4d7945b2 to your computer and use it in GitHub Desktop.
Save farukcan/06cd5bf587bcdd807f0a9b6d4d7945b2 to your computer and use it in GitHub Desktop.
Visual Powershell .NET Core Commands
{
"Name": ".NET Core",
"Author": "farukcan",
"Website": "https://farukcan.net",
"Commands": [
{
"Name": "πŸ†• New Project (with Template)",
"Scripts": [
"dotnet new \"{text:Template (short-name)}\" --name \"{text:Project Name}\" {text:Extra parameters (optional)}"
]
},
{
"Name": "πŸ” List Templates",
"Scripts": [
"dotnet new list"
]
},
{
"Name": "πŸ”› Install, Update, Uninstall Template",
"Scripts": [
"dotnet new {text:Command (install, update, uninstall, search)} \"{text:Template Name}\" {text:Extra parameters (optional)}"
]
},
{
"Name": "πŸš€ Run",
"Scripts": [
"dotnet run"
]
},
{
"Name": "πŸš€ Run and Watch (Dev)",
"Scripts": [
"dotnet watch run"
]
},
{
"Name": "βž• Add Package",
"Scripts": [
"dotnet add package {text:Package}"
]
},
{
"Name": "πŸ“š List Packages",
"Scripts": [
"dotnet list package"
]
},
{
"Name": "πŸ—‘οΈ Remove Package",
"Scripts": [
"dotnet remove {text:Package}"
]
},
{
"Name": "πŸ› οΈ Build",
"Scripts": [
"dotnet build {text:Project, Solution (Empty for current directory)} {text:Extra parameters (Optional)}"
]
},
{
"Name": "⏫ Publish",
"Scripts": [
"dotnet publish {text:Project, Solution (Empty for current directory)} {text:Extra parameters (Optional)}"
]
},
{
"Name": "βš™οΈ Restore",
"Scripts": [
"dotnet restore {text:Project, Solution (Empty for current directory)}"
]
},
{
"Name": "πŸ§ͺ Test",
"Scripts": [
"dotnet test"
]
},
{
"Name": "🧹 Clean",
"Scripts": [
"dotnet clean"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment