Revive `npub publish` and start composing the publish command

This was a bug that got introduced when `prep` was deleted and this code moved into the `publish` command.