Polyplug.Cli
0.1.3
dotnet tool install --global Polyplug.Cli --version 0.1.3
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Polyplug.Cli --version 0.1.3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Polyplug.Cli&version=0.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Polyplug.Cli --version 0.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Polyplug.Cli
dotnet global tool that exposes polyplugc — the polyplug contract code-generator CLI.
Generates host/guest bindings in Rust, C++, C#, Python, Lua, and JavaScript from a
.toml contract definition.
Install
dotnet tool install -g Polyplug.Cli
Usage
After installation polyplugc is available on PATH:
polyplugc generate --bundle api.toml --lang csharp --out src/generated
polyplugc validate --bundle api.toml
Supported platforms
| Platform | RID |
|---|---|
| Linux x64 | linux-x64 |
| macOS ARM | macos-arm64 |
| Windows x64 | win-x64 |
Fully offline
All three polyplugc binaries are embedded in the NuGet package. No runtime
download or internet access is required after dotnet tool install.
Build from source
cargo install polyplugc
Or download pre-built binaries from https://github.com/polyplug/polyplug/releases.
| 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.