@vibedcoder/invespro-cli
v0.1.3
Published
CLI for investment profiling and portfolio allocation
Downloads
531
Maintainers
Readme
@vibedcoder/invespro-cli
Command-line interface for Invespro, a rules-based investment profiling and portfolio allocation engine.
Use this package to evaluate JSON or CSV inputs, validate custom definitions, compile definitions to JDM, or run an interactive profiling flow.
Installation
pnpm add -g @vibedcoder/invespro-clinpm install -g @vibedcoder/invespro-cliYou can also run it without a global install:
npx @vibedcoder/invespro-cli --helpEvaluate One Applicant
invespro evaluate input.json --output jsonExample input:
{
"applicantId": "APP-001",
"answers": {
"age": 34,
"investmentHorizon": "fiveToTenYears",
"riskTolerance": "moderate",
"objective": "balancedGrowth",
"experience": "some",
"liquidityNeeds": "medium"
}
}Batch Evaluation
JSON batch:
invespro evaluate-batch applicants.json --output jsonCSV batch:
invespro evaluate-batch applicants.csv --input-format csv --output csvInteractive Profiling
invespro profileCustom Definitions
Validate a custom definition:
invespro validate definition.jsonCompile a definition to a ZenEngine/Gorules JDM graph:
invespro compile definition.json --output graph.jsonEvaluate with a custom definition:
invespro evaluate input.json --definition definition.json --output jsonRelated Packages
@vibedcoder/invespro-coreruns the evaluation engine.@vibedcoder/invespro-typesprovides schemas and types.@vibedcoder/invespro-honoexposes the engine through REST.
See the main project documentation at github.com/vibedcoder/invespro.
