How to add a button with custom command name and perform an operation?

Published --