src/Console/Commands/CreateWorkflowCommand.php
public function fire()
	{
		$this->inflector->of($name = $this->getWorkflowName());

		if($this->pipelines->exists($name))
		{
			return $this->error("The workflow [$name] already exists.");
		}

		$this->generateAllNeededFiles();

		$this->pipelines->store($name, $this->getNamespacedPipesByOption('attach'));

		$this->info('Workflow created successfully.');
	}
public function fire()
	{
		$this->inflector->of($name = $this->getWorkflowName());

		if($this->pipelines->exists($name))
		{
			return $this->error("The workflow [$name] already exists.");
		}

		$this->generateAllNeededFiles();

		$this->pipelines->store($name, $this->getNamespacedPipesByOption('attach'));

		$this->info('Workflow created successfully.');
	}
Execute the console command.

@return mixed