Crosstech.XBlocks-cli 1.2.0

dotnet tool install --global Crosstech.XBlocks-cli --version 1.2.0                
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 Crosstech.XBlocks-cli --version 1.2.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Crosstech.XBlocks-cli&version=1.2.0                
nuke :add-package Crosstech.XBlocks-cli --version 1.2.0                

xblocks-cli

"xblocks-cli" is a Dotnet tool that helps developers for XBlocks based operations

Changelogs

V-1.2.0

  • Upgraded XBlocks.Core Version to 1.2.0

V-1.1.0

  • Replaced Crosstech.XBlocks with Crosstech.XBlocks.Core

V-1.0.2

  • Upgraded XBlocks Version to 3.5.0

V-1.0.1

  • Fixed Axios Request Payload Set Bug in "generate-docs" Command.

V-1.0.0

  • Created "generate-docs" command for documenting Endpoint's Request-Response models as Typescript Types.

Known Issues

Generate Docs

  1. XblocksCli is not able to read parent class properties. So it can't generate correct typescript type when an class inherited from another class. Parent class properties are will not be shown in generated typescript type.

  2. Test

Commands

Generate Docs

cd Crosstech.XBlocks-cli
dotnet run generate-docs \
	--target-project ../Example/Backend/TodoApp.Application/TodoApp.Application.csproj \
	--output ../Example/Frontend/models/api/

Generate Code

cd Crosstech.XBlocks-cli
dotnet run generate-code \
	--app-definition-file ../Example/Backend/TodoApp.Application/application-definitions.xblocks.json \
	--target-endpoint-types crudl
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
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.2.0 2,112 10/31/2022
1.1.0 1,605 10/26/2022
1.0.2 1,555 10/18/2022
1.0.1 1,632 10/10/2022
1.0.0 1,380 10/9/2022
0.13.0 1,537 10/9/2022
0.12.0 1,464 10/5/2022
0.11.1 1,343 10/5/2022
0.11.0 1,648 10/5/2022
0.10.0 1,414 10/5/2022
0.9.1 1,484 10/5/2022
0.9.0 1,539 10/5/2022
0.0.3 1,787 8/3/2022
0.0.2 1,536 8/3/2022