@productbrain/cli 0.1.0-beta.16179 → 0.1.0-beta.16191
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@ import { runOutcomeRecord, runOutcomeList, runOutcomeShow } from './commands/out
|
|
|
2
2
|
export function registerOutcomeCommands(program) {
|
|
3
3
|
const outcomeCmd = program
|
|
4
4
|
.command('outcome')
|
|
5
|
-
.description('Key
|
|
5
|
+
.description('Key result and KPI outcomes — record and read the measured readings behind a number');
|
|
6
6
|
outcomeCmd
|
|
7
7
|
.command('record <entry-id> [value]')
|
|
8
8
|
.description('Record a reading — evidence, not a verdict; any connector may record one')
|
|
@@ -11,7 +11,7 @@ export function registerOutcomeCommands(program) {
|
|
|
11
11
|
.option('--as-of <date>', 'When the world was in this state (default: now). Back-dating a backfill is legitimate and stays visible')
|
|
12
12
|
.option('--kind <kind>', 'measurement | estimate | correction (default: measurement)')
|
|
13
13
|
.option('--corrects <reading-id>', 'Required with --kind correction — the reading this replaces. Refused if that row is already superseded')
|
|
14
|
-
.option('--by-role <role-id>', "The accountable role (default: the
|
|
14
|
+
.option('--by-role <role-id>', "The accountable role (default: the entry's reporter, then its owner)")
|
|
15
15
|
.option('--note <text>', 'Free-text note recorded with the reading')
|
|
16
16
|
.option('--source <text>', 'Where the number comes from (required for a KPI)')
|
|
17
17
|
.option('--value-text <text>', 'Verbatim as-reported form when the source was not clean ("~62%"). Display only')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registerOutcomeCommands.js","sourceRoot":"","sources":["../src/registerOutcomeCommands.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEzF,MAAM,UAAU,uBAAuB,CAAC,OAAgB;IACvD,MAAM,UAAU,GAAG,OAAO;SACxB,OAAO,CAAC,SAAS,CAAC;SAClB,WAAW,CAAC,
|
|
1
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