SpiderX.Template 1.0.2

Code generator of SpiderX.

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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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!

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

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!

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

Release Notes

Update dependencies.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.0.2 154 8/14/2020
1.0.1 198 4/11/2020
1.0.0 179 3/20/2020