Softlion.NotionSharp.TemplateProjects 1.0.0

Install the template (it will download from nuget automatically):
     > dotnet new -i Softlion.NotionSharp.TemplateProjects
     
     Get help on parameters for this template:
     > dotnet new blazorblog --help
     
     -p|--page       Title of a page on Notion which contains all the pages of the blog
                     string - Required

     -k|--key        value of the notion tokenV2 cookie
                     string - Optional
                     Default: __YourNotionKey__

     -b|--browserId  value of the notion browserId cookie
                     Guid - Optional
                     Default: __YourNotionBrowserId__

     -us|--userId    value of the notion userId cookie
                     Guid - Optional
                     Default: __YourNotionUserId__
     
     Create a new website in the current folder, using this template:
     > dotnet new blazorblog --page "My Public Blog" --key xxXxxXXxxXxxxXXxxx...xxXxxX --browserId BB083879-F2DA-4DF6-ADFB-C26344981DC3 --userId BB083879-F2DA-4DF6-ADFB-C26344981DC3
     
     You can also use this simple command:
     > dotnet new blazorblog --page "My Public Blog"
     
     But if you do so, you must add the values as user secrets:
     > dotnet user-secrets init
     > dotnet user-secrets set "Notion:Key" "xxXxxXXxxXxxxXXxxx...xxXxxX"
     > dotnet user-secrets set "Notion:BrowserId" "BB083879-F2DA-4DF6-ADFB-C26344981DC3"
     > dotnet user-secrets set "Notion:UserId" "BB083879-F2DA-4DF6-ADFB-C26344981DC3"
 
     To uninstall this template:
     > dotnet new -u Softlion.NotionSharp.TemplateProject.Blog
     
     To list all installed templates and get uninstall instructions:
     > dotnet new --uninstall --help

There is a newer version of this package available.
See the version list below for details.
dotnet new --install Softlion.NotionSharp.TemplateProjects::1.0.0
This package contains a .NET Core Template Package you can call from the shell/command line.

Release Notes

1.0.0
     initial version

  • .NETStandard 2.1

    • No dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.10 46 6/15/2020
1.0.9 154 6/14/2020
1.0.8 72 6/11/2020
1.0.7 74 6/11/2020
1.0.6 39 6/10/2020
1.0.5 79 6/10/2020
1.0.4 86 6/10/2020
1.0.3 45 6/10/2020
1.0.2 52 6/10/2020
1.0.0 88 5/27/2020
Show less