Dostar.Cli
0.12.0
dotnet tool install --global Dostar.Cli --version 0.12.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Dostar.Cli --version 0.12.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Dostar.Cli&version=0.12.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Dostar.Cli --version 0.12.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dostar CLI (dostar)
The dostar CLI is the entry point to Dostar — a fullstack template built around exceptional developer experience, complete DevSecOps, and CI/CD that deploys to production in under 30 minutes. The CLI handles project creation and module scaffolding so your team skips straight to building features:
dostar new-project— clone the template and rename every token in one stepdostar add-module— scaffold a new backend module (Contracts, Implementation, tests)dostar remove-module— cleanly remove a backend module and its referencesdostar add-feature— scaffold a new frontend feature folder, route file, and nav linkdostar remove-feature— remove a frontend feature folder, route file, and nav link
Install
dotnet tool install -g Dostar.Cli
Build and install locally
dotnet pack
dotnet tool install -g Dostar.Cli --add-source bin/Release/
After installation, the dostar command is available on your PATH.
Usage
dostar --help
dostar --version
# Project
dostar new-project MyStartup
# Backend modules
dostar add-module Billing
dostar remove-module Billing
# Frontend features
dostar add-feature Billing
dostar remove-feature Billing
Uninstall
dotnet tool uninstall -g Dostar.Cli
Release process
Releases are fully automated via release-please. No manual version bumps or git tags are needed.
How it works
conventional commits land on main
│
▼
release-please opens a "chore(main): release X.Y.Z" PR
• bumps <Version> in Dostar.Cli.csproj
• updates CHANGELOG.md
│
▼ (maintainer merges the Release PR)
│
▼
GitHub Release + git tag created (e.g. v0.2.0)
│
▼
nuget-publish.yml fires → packs + pushes to NuGet.org
Commit format
Use Conventional Commits:
| Prefix | Semver bump | Example |
|---|---|---|
fix: |
patch | fix: handle empty project name |
feat: |
minor | feat: add remove-module command |
feat!: or BREAKING CHANGE: |
major | feat!: rename new-project flags |
chore:, ci:, refactor:, test: |
none | hidden from changelog |
One-time setup (maintainer)
Set the NUGET_API_KEY secret in repo Settings → Secrets and variables → Actions:
- Name:
NUGET_API_KEY - Value: a NuGet.org API key with Push new packages and package versions scope for
Dostar.Cli
See docs/cli-publish.md in the template repo for the full distribution model.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.