Creates a new command builder with the specified body.
Extension function to create a command builder from any object.