Files
vscode/cli/src/util.rs
T
Connor PeetandGitHub f743297aa1 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
2023-04-13 19:18:48 +01:00

22 lines
608 B
Rust

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
mod is_integrated;
pub mod command;
pub mod errors;
pub mod http;
pub mod input;
pub mod io;
pub mod machine;
pub mod prereqs;
pub mod ring_buffer;
pub mod sync;
pub use is_integrated::*;
pub mod app_lock;
pub mod file_lock;
pub mod tar;
pub mod zipper;