KCL: Make shell stdlib fn use keyword arguments (#5293)
Before:
```
shell({ faces = ['end'], thickness = caseThickness }, case)
```
After:
```
shell(case, faces = ['end'], thickness = caseThickness)
```
			
			
This commit is contained in:
		@ -28,7 +28,14 @@ try {
 | 
			
		||||
  console.log(e)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
child_process.spawnSync('git', ['clone', URL_GIT_KCL_SAMPLES, DIR_KCL_SAMPLES])
 | 
			
		||||
child_process.spawnSync('git', [
 | 
			
		||||
  'clone',
 | 
			
		||||
  '--single-branch',
 | 
			
		||||
  '--branch',
 | 
			
		||||
  'achalmers/kw-shell',
 | 
			
		||||
  URL_GIT_KCL_SAMPLES,
 | 
			
		||||
  DIR_KCL_SAMPLES,
 | 
			
		||||
])
 | 
			
		||||
 | 
			
		||||
// @ts-expect-error
 | 
			
		||||
let files = await fs.readdir(DIR_KCL_SAMPLES)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user