Polhem.Cli
1.16.0
dotnet tool install --global Polhem.Cli --version 1.16.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Polhem.Cli --version 1.16.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Polhem.Cli&version=1.16.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Polhem.Cli --version 1.16.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Polhem.Cli
The command-line tool of the Polhem framework, packaged as a .NET tool.
Install
dotnet tool install --global Polhem.Cli
The tool command is dotnet-polhem, so it runs as dotnet polhem.
Commands
| Command | What it does |
|---|---|
dotnet polhem defines materialize |
Writes the default definition files embedded in Polhem.Definition to a directory, so an application can start from them and customize them |
dotnet polhem defines list |
Lists the relative paths of the embedded default definition files |
dotnet polhem keys protect |
Generates a new key and prints it encrypted with the master key, as the value SecurityKeySettings in SystemSettings.xml stores (for example ApiEncryptionKey) |
dotnet polhem forms template |
Writes an empty Excel workbook for describing a new form |
dotnet polhem forms export |
Writes the Excel workbook of an existing form, with its zh-TW texts and menu placement |
dotnet polhem forms import |
Turns a form workbook into the FormSchema, a TableSchema per table, the FormLayout and the registrations a runnable form needs; --dry-run lists the files without writing them |
How a form workbook is laid out and what the import fills in by convention is described in Modeling Forms in Excel.
The options of each command are printed by the tool itself, which is the authority for them:
dotnet polhem --help
dotnet polhem help defines
dotnet polhem defines materialize --help
License
MIT. See the repository.
| 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.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.16.0 | 49 | 11/20/2026 |
| 1.15.0 | 91 | 11/16/2026 |
| 1.14.0 | 99 | 11/14/2026 |
| 1.13.0 | 97 | 11/13/2026 |
| 1.12.1 | 100 | 11/6/2026 |
| 1.12.0 | 98 | 11/3/2026 |
| 1.11.0 | 113 | 10/28/2026 |
| 1.10.0 | 111 | 10/27/2026 |
| 1.9.0 | 104 | 10/23/2026 |
| 1.8.0 | 103 | 10/22/2026 |
| 1.7.0 | 139 | 10/16/2026 |
| 1.6.0 | 108 | 10/10/2026 |
| 1.5.0 | 108 | 10/9/2026 |
| 1.4.0 | 112 | 10/8/2026 |
| 1.3.1 | 111 | 10/5/2026 |
| 1.3.0 | 110 | 10/5/2026 |