Okojo.DocGenerator.Cli 0.1.0-preview.1

This is a prerelease version of Okojo.DocGenerator.Cli.
dotnet tool install --global Okojo.DocGenerator.Cli --version 0.1.0-preview.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Okojo.DocGenerator.Cli --version 0.1.0-preview.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Okojo.DocGenerator.Cli&version=0.1.0-preview.1&prerelease
                    
nuke :add-package Okojo.DocGenerator.Cli --version 0.1.0-preview.1
                    

Okojo.DocGenerator.Cli

Okojo.DocGenerator.Cli is a dotnet tool that emits TypeScript declaration files from Okojo-annotated .NET projects.

It scans a target project for types marked with:

  • GenerateJsGlobalsAttribute
  • GenerateJsObjectAttribute
  • DocDeclarationAttribute
  • DocIgnoreAttribute

Install

dotnet tool install --global Okojo.DocGenerator.Cli

Usage

okojo-docgen --project .\src\MyProject\MyProject.csproj --out .\artifacts\types\globals.d.ts

Per-type output:

okojo-docgen --project .\src\MyProject\MyProject.csproj --out .\artifacts\types --per-type
Product 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
0.1.0-preview.1 33 4/10/2026