NuGet_Forge 0.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package NuGet_Forge --version 0.0.2
NuGet\Install-Package NuGet_Forge -Version 0.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NuGet_Forge" Version="0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NuGet_Forge --version 0.0.2
#r "nuget: NuGet_Forge, 0.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NuGet_Forge as a Cake Addin
#addin nuget:?package=NuGet_Forge&version=0.0.2

// Install NuGet_Forge as a Cake Tool
#tool nuget:?package=NuGet_Forge&version=0.0.2

Пакет NuGet_Forge. Позволяет заливать пакеты в Инет для последующего безпрепятственного добавления в проекты. Упрощает пользовательское общение с консолью NuGet.exe посредством пользовательского стрелочного меню, написанного на CMD/DOS/BAT.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; С чего начать, для того чтобы использовать этот инструмент?

Зарегистрироваться на:

Единого пособия при работе с NuGet пакетами нет, есть множество статей, описывающих частные случаи применения NuGet.exe на сайте Microsoft. Рекомендуется бегло изучить: https://docs.microsoft.com/ru-ru/nuget/create-packages/creating-a-package https://docs.microsoft.com/ru-ru/nuget/quickstart/create-and-publish-a-package-using-visual-studio-net-framework https://docs.microsoft.com/ru-ru/nuget/reference/nuspec#optional-metadata-elements https://andrey.moveax.ru/post/tools-nuget-package-creator-reference https://docs.microsoft.com/ru-ru/nuget/reference/nuget-exe-cli-reference https://docs.microsoft.com/ru-ru/nuget/reference/target-frameworks ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Что содержит разработанный мною пакет? Официальный nuget.exe

  • обертка, состоящая из пользовательского стрелочного меню, написанного на bat файлах,
  • данная инструкция.

Использование предлагаемого меню облегчает вхождение в данную область, т.к. избавляет пользователя от тягот заучивания команд консоли NuGet.exe и необходимости набора их с клавиатуры каждый следующий раз.

Я в качестве хобби изучаю нестандартные языки программирования, которые попадаются на пути. Один из них - археологический CMD/DOS/BAT. Этот "великий и могучий, вездесущий и несокрушимый" язык существует уже более 40 ле. Он есть всегда и везде. Это язык базовой скриптовой консоли, который присутствует в каждой операционной системе семейства Dos/windows по умолчанию.

Если Вы что-то не можете сделать через новый язык, то это всегда можно сделать через консоль.

Предлагаю репозиторий примеров на CMD/DOS/BAT, беглый просмотр которого сэкономит несколько лет самостоятельного изучения и незримо прибавит опыта: https://github.com/IvanSibirevV2/HowTo_Bat.git ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

После запуска NuGet_Forge.bat в консоли отобразится меню. В меню есть индекс выбранного пункта. Вместо нажатия стрелок на клавиатуре, используем их буквенный эквивалент. Нажатием на клавишу "w" Вы вычитаете из индекса выбранного пункта меню единицу. Нажатием на клавишу "s" Вы прибавляете единицу к индексу выбранного пункта меню. Нажатием на клавишу "e" Вы запускаете выбранный пункт меню. Клавиши "wse" срабатывают только в английской раскладке.

  • Первый пункт меню - выход из программы.
  • Второй пункт меню - команда nuget spec - создания xml шаблона пакета.
  • Третий пункт меню - команда notepad Package.nuspec - открытие xml шаблона пакета в блокноте в основном потоке программы. Вносите изменения, сохраняете, закрываете, программа продолжает работать.
  • Четвертый пункт меню - команда nuget pack - команда упаковки пакета.

Синтаксис и структуру меню удалось максимально упростить - каждый пользователь может добавлять/редактировать пункты меню самостоятельно, в зависимости от личного опыта. if "%1" EQU "" ( :: Как выглядит меню, если оно выбрано if %menu.id% EQU 3 (echo * nuget pack) :: Как выглядит, меню если оно не выбрано if %menu.id% NEQ 3 (echo nuget pack) )else ( ::Как исполняется пункт меню при нажатии на клавишу e if %menu.id% EQU 3 (nuget pack) )

Пункты меню можно дополнять новыми командами без необходимости помнить их наизусть. Можно добавлять несколько вариантов одной команды с разными настройками (для экспериментов). Достаточно выбрать пункт меню и запустить.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

NuGet_Forge package. Allows you to upload packages to the Internet for subsequent unhindered addition to projects. Simplifies user communication with the console NuGet.exe by means of a custom arrow menu written in CMD/DOS/BAT.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Where to start in order to use this tool?

Register on:

There is no single manual when working with NuGet packages, there are many articles describing special cases of application NuGet.exe on the Microsoft website. It is recommended to study briefly: https://docs.microsoft.com/ru-ru/nuget/create-packages/creating-a-package https://docs.microsoft.com/ru-ru/nuget/quickstart/create-and-publish-a-package-using-visual-studio-net-framework https://docs.microsoft.com/ru-ru/nuget/reference/nuspec#optional-metadata-elements https://andrey.moveax.ru/post/tools-nuget-package-creator-reference https://docs.microsoft.com/ru-ru/nuget/reference/nuget-exe-cli-reference https://docs.microsoft.com/ru-ru/nuget/reference/target-frameworks ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; What does the package I developed contain? Official nuget.exe

  • wrapper consisting of a custom arrow menu written in bat files,
  • this instruction.

Using the suggested menu makes it easier to enter this area, because it saves the user from the hardships of memorizing console commands NuGet.exe and the need to dial them from the keyboard every next time.

As a hobby, I study non-standard programming languages that come across on the way. One of them is the archaeological CMD/DOS/BAT. This "great and mighty, omnipresent and indestructible" language has existed for more than 40 years. He is always and everywhere. This is the language of the basic scripting console, which is present in each operating system of the Dos/windows family by default.

If you can't do something through the new language, then it can always be done through the console.

I offer a repository of examples on CMD/DOS/BAT, a cursory review of which will save several years of self-study and invisibly add experience: https://github.com/IvanSibirevV2/HowTo_Bat.git ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

After running NuGet_Forge.bat a menu will be displayed in the console. There is an index of the selected item in the menu. Instead of pressing the arrows on the keyboard, we use their letter equivalent. By pressing the "w" key, you subtract one from the index of the selected menu item. By pressing the "s" key, you add one to the index of the selected menu item. By pressing the "e" key, you launch the selected menu item. The "wse" keys are triggered only in the English layout.

  • The first menu item is to exit the program.
  • The second menu item is the nuget spec command - creating an xml package template.
  • The third menu item is the notepad Package.nuspec command - opening the xml package template in notepad in the main program thread. Make changes, save, close, the program continues to work.
  • The fourth menu item is the nuget pack command - the package packing command.

The syntax and structure of the menu were simplified as much as possible - each user can add/edit menu items independently, depending on personal experience. if "%1" EQU "" ( :: What does the menu look like if it is selected if %menu.id %EQU 3 (echo * nuget pack) :: What does the menu look like if it is not selected if %menu.id %NEQ 3 (echo nuget pack) )else ( ::How the menu item is executed when pressing the e key if %menu.id% EQU 3 (nuget pack) )

Menu items can be supplemented with new commands without having to remember them by heart. You can add several variants of the same command with different settings (for experiments). Just select the menu item and run.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.14 251 3/2/2023
0.0.13 278 1/23/2023
0.0.12 384 11/27/2022
0.0.11 398 10/12/2022
0.0.10 426 10/12/2022
0.0.8 392 10/12/2022
0.0.7 407 10/12/2022
0.0.6 426 10/12/2022
0.0.5 410 10/12/2022
0.0.4 402 10/12/2022
0.0.3 360 10/12/2022
0.0.2 412 10/22/2021
0.0.1 333 10/21/2021

Trying to do something right