Skip to content

Misc CLI Tools

Simon Geering edited this page Sep 10, 2020 · 11 revisions

CLI Tools

Notes on the use of various CLI tools utilised by the project.

Assume starting from src folder.

Entity framework CLI commands

EF migrations are kept in DAL to allow adding other Apps in future with a common DB.

dotnet ef database update --context applicationdbcontext --project "./AdminAssistant.Infra/AdminAssistant.Infra.csproj" --startup-project "./AdminAssistant.Blazor/Server/AdminAssistant.Blazor.Server.csproj" --no-build

dotnet ef migrations add Initial --context applicationdbcontext --project "./AdminAssistant.Infra/AdminAssistant.Infra.csproj" --startup-project "./AdminAssistant.Blazor/Server/AdminAssistant.Blazor.Server.csproj" --output-dir "./DAL/EntityFramework/Migrations" --no-build

dotnet ef migrations list --context applicationdbcontext --project "./AdminAssistant.Infra/AdminAssistant.Infra.csproj" --startup-project "./AdminAssistant.Blazor/Server/AdminAssistant.Blazor.Server.csproj" --no-build

dotnet ef migrations remove --context applicationdbcontext --project "./AdminAssistant.Infra/AdminAssistant.Infra.csproj" --startup-project "./AdminAssistant.Blazor/Server/AdminAssistant.Blazor.Server.csproj" --no-build

Install Global tools

dotnet tool list --global
dotnet tool uninstall --global dotnet-ef
dotnet tool install dotnet-ef --global --version 3.1.6 --interactive
dotnet tool update --global dotnet-ef --version 5.0.0-preview.8.20407.4 

Home

Architecture [WIP]
Design Decisions
CLI Tools [WIP]


Individual Modules
Dashboard [TODO]
Accounts [WIP]
Asset Register [WIP]
Budget [WIP]
Mail [TODO]
Calendar [WIP]
Contacts [WIP]
Tasks [WIP]
Documents [WIP]
Reports [TODO]
Core [WIP]

Clone this wiki locally