MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / status

Function status

scripts/studio-host-provider.mjs:60–67  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

58}
59
60async function status(args) {
61 const config = await loadConfig(args);
62 const local = await localProviderMetadata(config).catch((error) => ({
63 ok: false,
64 error: describeError(error),
65 }));
66 console.log(JSON.stringify({ config: redactConfig(config), local }, null, 2));
67}
68
69async function run(args) {
70 const config = await loadConfig(args);

Callers 1

Calls 5

loadConfigFunction · 0.85
redactConfigFunction · 0.85
logMethod · 0.80
localProviderMetadataFunction · 0.70
describeErrorFunction · 0.70

Tested by

no test coverage detected