NewCommand creates a new Cobra command and a Runner object to register a recipe to an environment, with parameters
specified using a JSON file or key-value-pairs.
Run function creates an ApplicationsManagementClient, gets the environment details, adds the recipe properties to the
environment recipes, and creates the environment with the updated recipes. It returns an error if any of the steps fail.
Validate validates the command line args, sets the workspace, environment, template kind, template path, resource type,
recipe name, and parameters, and returns an error if any of these fail.