FieldCure.ToolHost.Cli
0.1.5
dotnet tool install --global FieldCure.ToolHost.Cli --version 0.1.5
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local FieldCure.ToolHost.Cli --version 0.1.5
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=FieldCure.ToolHost.Cli&version=0.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package FieldCure.ToolHost.Cli --version 0.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FieldCure.ToolHost.Cli (fcdnx)
Run .NET tools from NuGet without the .NET SDK — a drop-in dnx / dotnet tool execute replacement for environments where only the .NET runtime is available.
Bridge until Microsoft ships standalone dnx (dotnet/sdk#49796).
Install
dotnet tool install -g FieldCure.ToolHost.Cli
Quick Start
fcdnx dotnetsay
fcdnx dotnetsay@2.1.0
fcdnx --prerelease MyTool.Preview
fcdnx --add-source https://feed.example.com/v3/index.json MyCorp.Tool
fcdnx --interactive YourCorp.Tool
fcdnx dotnetsay -- "Hello from a runtime-only host!"
Common Flags
| Flag | Meaning |
|---|---|
<PACKAGE_ID>[@VERSION] |
Tool to run; append @VERSION to pin |
--prerelease |
Include prerelease versions |
--source <URI> |
Restrict to one source |
--add-source <URI> |
Add a source (repeatable) |
--interactive |
Allow credential plugin prompts |
--verbosity <LEVEL> |
q/m/n/d/diag |
--policy <POLICY> |
AlwaysLatest (default), CachedWithRefresh, CachedOnly |
-- |
Everything after goes to the tool |
Run fcdnx --help for the full list.
Exit Codes
0 on success; tool's own code if non-zero. ToolHost-specific failures follow sysexits.h (64–70). See the flag-compatibility doc.
Requirements
- .NET 8 or .NET 10 runtime (no SDK needed)
See Also
- GitHub
FieldCure.ToolHost— the embeddable library this CLI wraps
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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.
v0.1.5 — Library re-pinned to FieldCure.ToolHost 0.1.5, which adds ToolCacheIndexStore.EvictAsync for first-class single-package cache invalidation. CLI surface unchanged. See RELEASENOTES.ToolHost.Cli.md on GitHub for the full notes.