We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d54ded3 commit 43e8145Copy full SHA for 43e8145
src/cli.ts
@@ -24,7 +24,6 @@ const argv = cli({
24
alias: 'k',
25
type: Boolean,
26
description: 'Keep output of successful commands visible',
27
- default: false,
28
},
29
forever: {
30
alias: 'f',
@@ -63,10 +62,11 @@ const argv = cli({
63
62
});
64
65
(async () => {
66
- const { linearOutput, dynamicOutput, ...restFlags } = argv.flags;
+ const { dynamicOutput, linearOutput = !dynamicOutput, ...restFlags } = argv.flags;
67
const flags = {
68
...restFlags,
69
- linearOutput: linearOutput || !dynamicOutput,
+ linearOutput,
+ keepOutput: restFlags.keepOutput ?? linearOutput,
70
};
71
72
if (flags.print) {
0 commit comments