Package: ugetcli
uGet CliuGet Command Line InterfaceInstallationDisclaimer: This software is currently alpha. Stability is not guaranteed.You can install this package using pip:pipinstallugetcliQuickstartuGet Package Manager for Unity - pack unity plugins into re-usable NuGet packages.
Supports packing assets and correctly handles meta files (GUIDS).cdMySolutionName/MyProjectNameugetbuild//BuildVisualStudioprojectugetcreate//CreateUnityPackage(.unitypackage)ugetpack//CreateNuGetPackage(.nupkg)ugetpush//PushtotheNuGetfeeduget buildBuilds Visual Studio project using msbuild.Arguments:-p/–pathpath to the Visual Studio Project (.csproj) or a directory containing one. Default: current working directory-c/–configurationconfiguration:DebugorRelease. Default: Release-m/–msbuild-pathpath to the msbuild executable. If not provided, uget cli will try to automatically find it. Can be provided with MSBUILD_PATH environment variable. Default: determined based on the system-r/–rebuild(flag) if provided, clean rebuild will be triggered. Default: Falseuget createCreates .unitypackage using Unity Editor.Arguments:-p/–pathpath to the Visual Studio Project (.csproj) or a directory containing one. Default: current working directory-o/–output-diroutput directory into which UnityPackage will be built. Default: “./Output” (relative to current working directory)-c/–configurationconfiguration:DebugorRelease. Default: Release-t/–unity-project-pathpath to the Unity project used to build .unitypackage. Project can contain optional assets. Default: “./UnityProject” (relative to current working directory)-r/–root-dirroot directory inside the Unity Project into which assembly is copied. Used to export .unitypackage. If not provided, assembly name is used (relative to the unity-project-path).–clean(flag) If set, cleans other .unitypackage files with the same configuration at the output location. Default: False (does not clean)–unity-usernameprovides username for Unity editor. Can be provided with UNITY_USERNAME environment variable.–unity-passwordprovides password for Unity editor. Can be provided with UNITY_PASSWORD environment variable.–unity-serialprovides serial for Unity editor. Can be provided with UNITY_SERIAL environment variable.uget packPacks NuGet package (.nupkg) using NuGet. Includes Unity Package (.unitypackage) into it.Arguments:-p/–pathpath to Visual Studio project (.csproj) or .nuspec file, or a directory containing one. Default: current working directory-o/–output-diroutput NuGet package directory. Default: “./Output” (relative to current working directory)-n/–nuget-pathpath to NuGet executable. Can be provided with NUGET_PATH environment variable.-u/–unitypackage-pathpath to .unitypackage. Default: “./UnityProject” (relative to current working directory)-c/–configurationconfiguration:DebugorRelease. Default: “Release”uget pushPush uGet Package (.nupkg) to the NuGet feed.Arguments:-p/–pathpath to NuGet Package (.nupkg) or Visual Studio project, or a directory containing one. Default: current working directory.-o/–output-dirprovides directory in which Nuget Package is being looked for. Used only if .nupkg is not provided viapath.  Optional. Default: No value-f/–feedNuGet Feed URL. Default: No value. Must be provided explicitly.-n/–nuget-pathpath to NuGet executable. Can be provided with NUGET_PATH environment variable. Default: no value-a/–api-keyNuGet Api Key.  Can be provided with NUGET_API_KEY environment variable. Default: no valueConfiguration file–config-pathAs an alternative to command line arguments, configuration file can be provided.
By default,uget.config.jsonwill be used. Config file will be searched in the execution directory.
You can provide custom config file by passing it’s path to the–config.Example config file (uget.config.json):{"output_dir":"../../Output","unity_project_path":"../../UnityProjects/MyUnityProject","clean":true,"configuration":"Debug","root_dir":"Assets/MyUnityProject",// optional"assembly_relative_dir":"Editor",// optional"feed":"https://proget.aofl.com/nuget/AOFL-Unity-Development/"}You can override any command line parameter by usingsnake_caseinstead ofdashed-optionsConfiguration json–configYou can pass configuration as a raw json instead of configuration file by passing–config:ugetbuild--config"{\"output_dir\": \"Output\"}"Debug Mode-d/–debugThis flag can be provided to output more debug information and enable verbose logs from underlying tools.Quiet Mode-q/–quietThis flag can be provided to silence any user prompts.History0.1.0 (2018-09-12)First release on PyPI.