Create Unity Package (cup) is a command-line app that allows you to create Unity packages from the command line without installing Unity.
Why do you think that https://github.com/Unity-Technologies/com.unity.netcode.gameobjects is a good alternative to cup