Execute adds all child commands to the root command and sets flags appropriately.
This is called by main.main(). It only needs to happen once to the rootCmd.
From checks the leaves from `start` up to the checkpoint from the state tracker.
Upon reaching the end of the leaves, the checkpoint is persisted in the state file.