Clear data from menu

Hey!

I’m trying to find a command to execute the clear data function under settings / tv.
I want this to be in the submenu for easy access when having profiles.

Is there a command for this… if so. How can I solve it?

Thanks

/T