$ dotnet nuget list source
Registered Sources:
  1. [Enabled]


  1. Use dotnet tool install.
$ dotnet tool install --global Andtech.Gooball


  1. Use dotnet tool uninstall.
$ dotnet tool uninstall --global Andtech.Gooball


Unity Project Commands

goo <command> [<projectPath>] [--follow] [-- <args>]
Gooball commands:
	open	Open a Unity project with a unity editor
	test	Run tests on a Unity project
	build	Build a unity project
	run		Run arbitrary Unity commands
projectPathThe path to the Unity project.Default: ./
--follow(Experimental) Output appended data to console as the Unity log grows.
argsArguments to pass to the Unity process (e.g. Unity.exe).

Miscellaneous Commands

List installed Unity editors

goo list

Hide assets

goo hide [--in-package <packagePath>] <assetPath>
--in-packageThe path to the Unity project.This folder should contain your package.json.
assetPathThe path to the asset.This will hide the asset and delete the associated meta file.


Open a Unity project with a Unity editor

$ goo MyProject

Build a Unity project

$ goo build MyProject -- -executeMethod BuildAll

Run tests on Unity project

$ goo test MyProject -- -testResults results.xml

Run arbitrary Unity commands

$ goo run -- -batchMode -quit -executeMethod ExportPackages

Hide assets from the Unity asset database

This hides assets from Unity during the import process (see Unity - Manual: Special folder names for more details)

$ goo hide MyProject/Assets/
$ goo hide --in-package MyProject/Assets/MyPackage MyProject/Assets/MyPackage/Samples

List installed Unity editors

$ goo list
2021.1.24f1	[/mnt/c/Program Files/Unity/Hub/Editor/2021.1.24f1/Editor/Unity.exe]
2021.2.0f1	[/mnt/c/Program Files/Unity/Hub/Editor/2021.2.0f1/Editor/Unity.exe]