A .NET tool designed to simplify common development tasks for .NET projects.
You can install the tool globally using the .NET CLI:
dotnet tool install --global HC.Dev
To update to the latest version:
dotnet tool update --global HC.Dev
The default command launches the current solution in your default IDE or project in Visual Studio Code.
dev
# or
dev launch
Bumps the version of all projects in the current solution or the current project.
dev bump [major|minor|patch|revision]
The bump command supports the following options:
major
: Increments the major version (e.g., 1.0.0 → 2.0.0)minor
: Increments the minor version (e.g., 1.0.0 → 1.1.0) - Defaultpatch
: Increments the patch version (e.g., 1.0.0 → 1.0.1)revision
: Increments the revision version (e.g., 1.0.0.0 → 1.0.0.1)
Bumps the version of all projects in the current solution or the current project and creates a git commit and tag for the new version.
dev bump-commit [major|minor|patch|revision]
The bump-commit
command supports the following options:
major
: Increments the major version (e.g., 1.0.0 → 2.0.0)minor
: Increments the minor version (e.g., 1.0.0 → 1.1.0) - Defaultpatch
: Increments the patch version (e.g., 1.0.0 → 1.0.1)revision
: Increments the revision version (e.g., 1.0.0.0 → 1.0.0.1)
This command will:
- Update the version in the
.csproj
or all projects in the.sln
. - Stage the changes using
git add
. - Create a commit with the message
build: {version}
. - Tag the commit with the new version.
Builds the current solution or project in Release mode.
dev build
If a build.cmd
(Windows) or build.sh
(Linux/macOS) file exists in the same directory, it will be used instead.
Runs the Vidyano frontend builder in the current directory using Docker.
dev frontend
This command uses the ghcr.io/stevehansen/vidyano-frontend-builder
Docker image to build your frontend.
Displays help information.
dev help
The following aliases are available for commonly used commands:
Alias | Command |
---|---|
b | build |
h | help |
f | frontend |
v | bump |
vc | bump-commit |
This project is licensed under the MIT License. See the LICENSE file for details.