Examples: Defining and creating commands

These examples show how to define and create commands.