SpiderX.Template 1.0.2

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

SpiderX.Template

.NET Core License

CLI & Templates of SpiderX.

本仓库用来存放SpiderX项目的命令行工具和模板。

Disclaimer |免责声明

For everyone, this repo must be used legally under local law. Users have total responsibility for ensuring their own compliance with legal requirements, while authors and contributors won't be held responsible for actions of illegal users.

对所有人来说,该项目必须在当地法律允许的范围内使用。使用者对确保自己遵守法律要求负有完全责任,而作者和贡献者对违法使用者的行为概不负责。

Packages |Nuget包

Name Description NugetPackage
SpiderX.Template Global tool Global Tool Nuget
SpiderX.TemplatePacks Templates TemplatePacks Nuget

Instructions |使用说明

In the meanwhile of use, it's better to ensure network connection. Otherwise some commandlines might not work properly.

在使用期间,最好确保网络连接。否则部分命令可能不会有效执行。

Install |安装

Execute a dotnet-tool commandline to install the global tool.

执行dotnet-tool命令行安装全局工具。

dotnet tool install -g SpiderX.Template

Use |使用

The 'spiderx' commandlines are tested by (& recommended for) working with Package Manager Console of Visual Studio(16.5+).

‘spiderx’系列指令在Visual Studio(16.5+)的程序包管理器控制台上进行了测试(同样也推荐这么使用)。

  • spiderx new

    • Params |参数 | FullName | ShortName | Description | Type | Required | DefaultValue | | :---------: | :-------: | :--------------------------------------------: | :-----------: | :------: | :---------------: | | --project | -p | Give the name of new project to be created | String | true | -- | | --namespace | -n | Give the namespace of new project | String | false | SpiderX.Business | | --version | -v | Select which version of template to apply | String | false | null | | --output | -o | Set the output path of files | DirectoryInfo | false | Current directory | | --force | -f | Update(/Reinstall) and use the latest template | Bool | false | false |

    • Samples |样例

      1. spiderx new -p Github

      2. spiderx new -p Github -n MyNamespace -v 0.1.0 -o C:\\MyDirectory

Uninstall |卸载

  1. Execute a dotnet-tool commandline to uninstall the global tool.

    执行dotnet-tool命令行卸载全局工具。

    dotnet tool uninstall -g SpiderX.Template

  2. Execute a dotnet-new commandline to uninstall related templates.

    执行dotnet-new命令行卸载相关模板。

    dotnet new -u SpiderX.TemplatePacks

References |参考

End |结束语

The templates can improve the efficiency of programming a lot. Try it by yourself and have fun!

模板可以极大地提升编程效率。自己动手试试吧!祝使用愉快!

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
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.0.2 2,161 8/14/2020
1.0.1 511 4/11/2020
1.0.0 494 3/20/2020

Update dependencies.