Skip to content

Commit a0a1cb7

Browse files
committed
add log option to checkout and merge
1 parent 433888b commit a0a1cb7

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.changeset/dark-ideas-bow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openfn/cli': patch
3+
---
4+
5+
Add log option for checkout and merge

packages/cli/src/checkout/command.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import { ensure, build } from '../util/command-builders';
44
import * as o from '../options';
55

66
export type CheckoutOptions = Required<
7-
Pick<Opts, 'command' | 'projectName' | 'projectPath'>
7+
Pick<Opts, 'command' | 'projectName' | 'projectPath' | 'log'>
88
>;
99

10-
const options = [o.projectName, o.projectPath];
10+
const options = [o.projectName, o.projectPath, o.log];
1111

1212
const checkoutCommand: yargs.CommandModule = {
1313
command: 'checkout <project-name>',

packages/cli/src/merge/command.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export type MergeOptions = Required<
1111
| 'projectPath'
1212
| 'removeUnmapped'
1313
| 'workflowMappings'
14+
| 'log'
1415
>
1516
>;
1617

@@ -19,6 +20,7 @@ const options = [
1920
o.projectPath,
2021
o.removeUnmapped,
2122
o.workflowMappings,
23+
o.log,
2224
];
2325

2426
const mergeCommand: yargs.CommandModule = {

0 commit comments

Comments
 (0)