original_string: public function actionIndex($option = null)
  	{
  		$option = Question::displayWithQuit('Select operation', ['Update', 'Delete'], $option);
  		$project = env('project');
  		if($option == 'u') {
  			//Question::confirm('Do are you sure update?', 1);
  			$projectInput = Question::displayWithQuit('Select project', ['common', $project]);
  			$project = $projectInput == 'c' ? 'common' : $project;
  			$result = Environments::update($project);
  			Output::arr($result, 'Result');
  		} elseif($option == 'd') {
  			//Question::confirm('Do are you sure delete?', 1);
  			$projectInput = Question::displayWithQuit('Select project', ['common', $project]);
  			$project = $projectInput == 'c' ? 'common' : $project;
  			$result = Environments::delete($project);
  			Output::arr($result, 'Result');
  		}
  	}
code: public function actionIndex($option = null)
  	{
  		$option = Question::displayWithQuit('Select operation', ['Update', 'Delete'], $option);
  		$project = env('project');
  		if($option == 'u') {
  			//Question::confirm('Do are you sure update?', 1);
  			$projectInput = Question::displayWithQuit('Select project', ['common', $project]);
  			$project = $projectInput == 'c' ? 'common' : $project;
  			$result = Environments::update($project);
  			Output::arr($result, 'Result');
  		} elseif($option == 'd') {
  			//Question::confirm('Do are you sure delete?', 1);
  			$projectInput = Question::displayWithQuit('Select project', ['common', $project]);
  			$project = $projectInput == 'c' ? 'common' : $project;
  			$result = Environments::delete($project);
  			Output::arr($result, 'Result');
  		}
  	}
code_tokens: public function actionIndex ( $ option = null ) { $ option = Question :: displayWithQuit ( 'Select operation' , [ 'Update' , 'Delete' ] , $ option ) ; $ project = env ( 'project' ) ; if ( $ option == 'u' ) { //Question::confirm('Do are you sure update?', 1); $ projectInput = Question :: displayWithQuit ( 'Select project' , [ 'common' , $ project ] ) ; $ project = $ projectInput == 'c' ? 'common' : $ project ; $ result = Environments :: update ( $ project ) ; Output :: arr ( $ result , 'Result' ) ; } elseif ( $ option == 'd' ) { //Question::confirm('Do are you sure delete?', 1); $ projectInput = Question :: displayWithQuit ( 'Select project' , [ 'common' , $ project ] ) ; $ project = $ projectInput == 'c' ? 'common' : $ project ; $ result = Environments :: delete ( $ project ) ; Output :: arr ( $ result , 'Result' ) ; } }
docstring: Manage project initialization files
docstring_tokens: Manage project initialization files