Version script "helpers"

Is there any updated doc about this feature, I suppose it turned into snapcraftctl set-grade and snapcraftctl set-version commands?

UPDATE: Nevermind, I found it: Using external metadata