You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

solrevdev.seedfolder

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solrevdev.seedfolder

.NET Core Global Tool that creates a folder and copies dotfiles into it therefore seeding a folder.

1.2.7
Source
nugetNuGet
Version published
Maintainers
1
Created
Source

Solrevdev.SeedFolder

GitHub last commit CI Twitter Follow

                     _  __       _     _
  ___  ___  ___  __| |/ _| ___ | | __| | ___ _ __
 / __|/ _ \/ _ \/ _` | |_ / _ \| |/ _` |/ _ \ '__|
 \__ \  __/  __/ (_| |  _| (_) | | (_| |  __/ |
 |___/\___|\___|\__,_|_|  \___/|_|\__,_|\___|_|

Overview

This is a .NET Core Global Tool that will create a folder named after either the first argument passed to it or if no argument is passed it will ask you for the folder name. It will then copy some default standard dotfiles over.

For example:

seedfolder
dotnet run --project src/solrevdev.seedfolder.csproj
▲   Do you want to prefix the folder with the date? [Y/n] y
▲   What do you want the folder to be named? temp
‍▲   Creating the directory 2020-12-10_temp
‍▲   Copying .dockerignore to 2020-12-10_temp/.dockerignore
‍▲   Copying .editorconfig to 2020-12-10_temp/.editorconfig
‍▲   Copying .gitattributes to 2020-12-10_temp/.gitattributes
‍▲   Copying .gitignore to 2020-12-10_temp/.gitignore
‍▲   Copying .prettierignore to 2020-12-10_temp/.prettierignore
‍▲   Copying .prettierrc to 2020-12-10_temp/.prettierrc
‍▲   Copying omnisharp.json to 2020-12-10_temp/omnisharp.json
▲   Done!

seedfolder
dotnet run --project src/solrevdev.seedfolder.csproj
▲   Do you want to prefix the folder with the date? [Y/n] n
▲   What do you want the folder to be named? temp
‍▲   Creating the directory temp
‍▲   Copying .dockerignore to temp/.dockerignore
‍▲   Copying .editorconfig to temp/.editorconfig
‍▲   Copying .gitattributes to temp/.gitattributes
‍▲   Copying .gitignore to temp/.gitignore
‍▲   Copying .prettierignore to temp/.prettierignore
‍▲   Copying .prettierrc to temp/.prettierrc
‍▲   Copying omnisharp.json to temp/omnisharp.json
▲   Done!

seedfolder temp
dotnet run --project src/solrevdev.seedfolder.csproj temp
▲   Found 1 params to process.
‍▲   Creating the directory temp
‍▲   Copying .dockerignore to temp/.dockerignore
‍▲   Copying .editorconfig to temp/.editorconfig
‍▲   Copying .gitattributes to temp/.gitattributes
‍▲   Copying .gitignore to temp/.gitignore
‍▲   Copying .prettierignore to temp/.prettierignore
‍▲   Copying .prettierrc to temp/.prettierrc
‍▲   Copying omnisharp.json to temp/omnisharp.json
▲   Done!

It will also copy the following dotfiles from the src/Data folder over:

  • .dockerignore
  • .editorconfig
  • .gitattributes
  • .gitignore
  • .prettierignore
  • .prettierrc

Installation

Locally without publishing it on NuGet


dotnet pack
dotnet tool install --global --add-source ./nupkg solrevdev.seedfolder

Normally via NuGet

dotnet tool install --global solrevdev.seedfolder

To uninstall

dotnet tool uninstall -g solrevdev.seedfolder

Publish to Nuget

Uses a GitHub secret to store a NUGET_API_KEY API Key created over at NuGet in order to build and deploy via GitHub actions to NuGet.

When you commit bump the version in the csproj file

<Version>1.0.1</Version>

Keywords

dotnetcore

FAQs

Package last updated on 21 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.