15 lines
		
	
	
		
			454 B
		
	
	
	
		
			TypeScript
		
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			454 B
		
	
	
	
		
			TypeScript
		
	
	
| import { CloudRunnerState } from '../state/cloud-runner-state';
 | |
| import { DownloadRepository } from './remote-steps/download-repository';
 | |
| 
 | |
| export class RemoteClientCli {
 | |
|   static async RunRemoteClient(options) {
 | |
|     const buildParameter = JSON.parse(process.env.buildParameters || '{}');
 | |
|     CloudRunnerState.setup(buildParameter);
 | |
|     switch (options.remoteClientState) {
 | |
|       default:
 | |
|         await DownloadRepository.run();
 | |
|         break;
 | |
|     }
 | |
|   }
 | |
| }
 |