private function cli_header(){
		ob_start();
		print $this->px->pxcmd()->get_cli_header();
		print 'publish directory(tmp): '.$this->path_tmp_publish."\n";
		print 'lockfile: '.$this->path_lockfile."\n";
		print 'publish directory: '.$this->path_publish_dir."\n";
		print 'domain: '.$this->domain."\n";
		print 'docroot directory: '.$this->path_docroot."\n";
		print 'ignore: '.join(', ', $this->plugin_conf->paths_ignore)."\n";
		print 'region: '.join(', ', $this->paths_region)."\n";
		print 'ignore (tmp): '.join(', ', $this->paths_ignore)."\n";
		print 'keep cache: '.($this->flg_keep_cache ? 'true' : 'false')."\n";
		print 'devices:'."\n";
		foreach($this->plugin_conf->devices as $key=>$device){
			print '  - device['.$key.']:'."\n";
			print '    - user_agent: '.$device->user_agent."\n";
			print '    - path_publish_dir: '.$device->path_publish_dir."\n";
			print '    - path_rewrite_rule: '.$device->path_rewrite_rule."\n";
			print '    - paths_target: '.(is_array($device->paths_target) ? join(', ', $device->paths_target) : '')."\n";
			print '    - paths_ignore: '.(is_array($device->paths_ignore) ? join(', ', $device->paths_ignore) : '')."\n";
			print '    - rewrite_direction: '.$device->rewrite_direction."\n";
		}
		print 'skip default device: '.($this->plugin_conf->skip_default_device ? 'true' : 'false')."\n";
		print '------------'."\n";
		flush();
		return ob_get_clean();
	}
private function cli_header(){
		ob_start();
		print $this->px->pxcmd()->get_cli_header();
		print 'publish directory(tmp): '.$this->path_tmp_publish."\n";
		print 'lockfile: '.$this->path_lockfile."\n";
		print 'publish directory: '.$this->path_publish_dir."\n";
		print 'domain: '.$this->domain."\n";
		print 'docroot directory: '.$this->path_docroot."\n";
		print 'ignore: '.join(', ', $this->plugin_conf->paths_ignore)."\n";
		print 'region: '.join(', ', $this->paths_region)."\n";
		print 'ignore (tmp): '.join(', ', $this->paths_ignore)."\n";
		print 'keep cache: '.($this->flg_keep_cache ? 'true' : 'false')."\n";
		print 'devices:'."\n";
		foreach($this->plugin_conf->devices as $key=>$device){
			print '  - device['.$key.']:'."\n";
			print '    - user_agent: '.$device->user_agent."\n";
			print '    - path_publish_dir: '.$device->path_publish_dir."\n";
			print '    - path_rewrite_rule: '.$device->path_rewrite_rule."\n";
			print '    - paths_target: '.(is_array($device->paths_target) ? join(', ', $device->paths_target) : '')."\n";
			print '    - paths_ignore: '.(is_array($device->paths_ignore) ? join(', ', $device->paths_ignore) : '')."\n";
			print '    - rewrite_direction: '.$device->rewrite_direction."\n";
		}
		print 'skip default device: '.($this->plugin_conf->skip_default_device ? 'true' : 'false')."\n";
		print '------------'."\n";
		flush();
		return ob_get_clean();
	}
private function cli_header ( ) { ob_start ( ) ; print $ this -> px -> pxcmd ( ) -> get_cli_header ( ) ; print 'publish directory(tmp): ' . $ this -> path_tmp_publish . "\n" ; print 'lockfile: ' . $ this -> path_lockfile . "\n" ; print 'publish directory: ' . $ this -> path_publish_dir . "\n" ; print 'domain: ' . $ this -> domain . "\n" ; print 'docroot directory: ' . $ this -> path_docroot . "\n" ; print 'ignore: ' . join ( ', ' , $ this -> plugin_conf -> paths_ignore ) . "\n" ; print 'region: ' . join ( ', ' , $ this -> paths_region ) . "\n" ; print 'ignore (tmp): ' . join ( ', ' , $ this -> paths_ignore ) . "\n" ; print 'keep cache: ' . ( $ this -> flg_keep_cache ? 'true' : 'false' ) . "\n" ; print 'devices:' . "\n" ; foreach ( $ this -> plugin_conf -> devices as $ key => $ device ) { print '  - device[' . $ key . ']:' . "\n" ; print '    - user_agent: ' . $ device -> user_agent . "\n" ; print '    - path_publish_dir: ' . $ device -> path_publish_dir . "\n" ; print '    - path_rewrite_rule: ' . $ device -> path_rewrite_rule . "\n" ; print '    - paths_target: ' . ( is_array ( $ device -> paths_target ) ? join ( ', ' , $ device -> paths_target ) : '' ) . "\n" ; print '    - paths_ignore: ' . ( is_array ( $ device -> paths_ignore ) ? join ( ', ' , $ device -> paths_ignore ) : '' ) . "\n" ; print '    - rewrite_direction: ' . $ device -> rewrite_direction . "\n" ; } print 'skip default device: ' . ( $ this -> plugin_conf -> skip_default_device ? 'true' : 'false' ) . "\n" ; print '------------' . "\n" ; flush ( ) ; return ob_get_clean ( ) ; }
print CLI header
print CLI header