MCPcopy Create free account
hub / github.com/arctic-cli/interface / status

Function status

packages/arctic/src/format/index.ts:89–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 }
88
89 export async function status() {
90 const s = await state()
91 const result: Status[] = []
92 for (const formatter of Object.values(s.formatters)) {
93 const enabled = await isEnabled(formatter)
94 result.push({
95 name: formatter.name,
96 extensions: formatter.extensions,
97 enabled,
98 })
99 }
100 return result
101 }
102
103 export function init() {
104 log.info("init")

Callers

nothing calls this directly

Calls 3

stateFunction · 0.85
pushMethod · 0.80
isEnabledFunction · 0.70

Tested by

no test coverage detected