Skip to content

Commit a860081

Browse files
authored
Merge pull request #1073 from OpenFn/logging
add log option to checkout and merge
2 parents 433888b + bcdc55e commit a860081

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

packages/cli/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @openfn/cli
22

3+
## 1.17.1
4+
5+
### Patch Changes
6+
7+
- a0a1cb7: Add log option for checkout and merge
8+
39
## 1.17.0
410

511
### Minor Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openfn/cli",
3-
"version": "1.17.0",
3+
"version": "1.17.1",
44
"description": "CLI devtools for the OpenFn toolchain",
55
"engines": {
66
"node": ">=18",

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)