mirror of
https://github.com/morluto/rea.git
synced 2026-12-02 11:33:10 +00:00
perf(cli): decouple guided-workflows and comparison commands from applicationToolContracts (#13448)
* perf(cli): decouple guided-workflows and comparison commands from applicationToolContracts * perf(cli): register comparison commands lazily and assert applicationToolContracts startup isolation
This commit is contained in:
1 parent
07df0f1c04
commit
edbb844e6b
11 files changed
+150
-108
No files matched your search
@@ -1,7 +1,6 @@
|
||||
import type { Logger } from "pino";
|
||||
import type { CliInstance } from "./types.js";
|
||||
import { APPLICATION_TOOL_CONTRACTS } from "../contracts/applicationToolContracts.js";
|
||||
import { contractNamed } from "./contractCliDescription.js";
|
||||
import { COMPARE_SOURCE_TO_BUNDLE_TOOL_CONTRACT } from "../contracts/sourceToBundleToolContract.js";
|
||||
import { registerContractDocumentCommand } from "./contractCommand.js";
|
||||
import {
|
||||
evidenceBundleOption,
|
||||
@@ -25,7 +24,7 @@ export const registerSourceToBundleCommand = (
|
||||
registerContractDocumentCommand(
|
||||
cli,
|
||||
logger,
|
||||
contractNamed(APPLICATION_TOOL_CONTRACTS, "compare_source_to_bundle"),
|
||||
COMPARE_SOURCE_TO_BUNDLE_TOOL_CONTRACT,
|
||||
{
|
||||
description:
|
||||
"Compare historical source (inline graph or reference {kind:file,path}) with authenticated application Evidence. Save the complete JSON to query with inspect-analysis-view.",
|
||||
|
||||
Reference in new issue
Block a user