mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 06:51:53 +01:00
cli: add acquire_cli (#179837)
* cli: add acquire_cli
As given in my draft document, pipes a CLI of the given platform to the
specified process, for example:
```js
const cmd = await rpc.call('acquire_cli', {
command: 'node',
args: [
'-e',
'process.stdin.pipe(fs.createWriteStream("c:/users/conno/downloads/hello-cli"))',
],
platform: Platform.LinuxX64,
quality: 'insider',
});
```
It genericizes caching so that the CLI is also cached on the host, just
like servers.
* fix bug
This commit is contained in:
@@ -17,9 +17,5 @@ pub mod sync;
|
||||
pub use is_integrated::*;
|
||||
pub mod app_lock;
|
||||
pub mod file_lock;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
pub mod tar;
|
||||
|
||||
#[cfg(any(target_os = "windows", target_os = "macos"))]
|
||||
pub mod zipper;
|
||||
|
||||
Reference in New Issue
Block a user