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

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

		$this->generatePipes();

		$this->deleteDetachedIfForced();

		$this->updateWorkflow($name);

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

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

		$this->generatePipes();

		$this->deleteDetachedIfForced();

		$this->updateWorkflow($name);

		$this->info('Workflow updated successfully.');
	}
public function fire ( ) { $ name = $ this -> getWorkflowName ( ) ; if ( ! $ this -> pipelines -> exists ( $ name ) ) { return $ this -> error ( "The workflow [$name] does not exist." ) ; } $ this -> generatePipes ( ) ; $ this -> deleteDetachedIfForced ( ) ; $ this -> updateWorkflow ( $ name ) ; $ this -> info ( 'Workflow updated successfully.' ) ; }
Execute the console command.

@return mixed
Execute the console command .