Skip to content

Commit

Permalink
Update cli help
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkGriffiths committed Feb 14, 2019
1 parent c075646 commit 0c7ec0c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 109 deletions.
4 changes: 2 additions & 2 deletions bin/truwrap
Original file line number Diff line number Diff line change
Expand Up @@ -665,11 +665,11 @@ function help(yargs$$1) {
align: 2
}));
container.write(header()).break();
container.write(`${clr.dark}${''.repeat(windowWidth)}${clr.dark.out}`).break();
container.write(`${clr.dark}${''.repeat(windowWidth)}${clr.dark.out}`).break();
renderer.write(synopsis).break(2);
renderer.write(yargs$$1.getUsageInstance().help()).break();
renderer.write(usage).break(2);
container.write(`${clr.dark}${''.repeat(windowWidth)}${clr.dark.out}`);
container.write(`${clr.dark}${''.repeat(windowWidth)}${clr.dark.out}`);
renderer.write(epilogue).end();
}

Expand Down
104 changes: 0 additions & 104 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,4 @@
]
]
}
}
}
4 changes: 2 additions & 2 deletions src/cli/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ export default function help(yargs) {
align: 2
}))
container.write(header()).break()
container.write(`${clr.dark}${''.repeat(windowWidth)}${clr.dark.out}`).break()
container.write(`${clr.dark}${''.repeat(windowWidth)}${clr.dark.out}`).break()
renderer.write(synopsis).break(2)
renderer.write(yargs.getUsageInstance().help()).break()
renderer.write(usage).break(2)
container.write(`${clr.dark}${''.repeat(windowWidth)}${clr.dark.out}`)
container.write(`${clr.dark}${''.repeat(windowWidth)}${clr.dark.out}`)
renderer.write(epilogue).end()
}

0 comments on commit 0c7ec0c

Please sign in to comment.