Skip to content

Commit ba7ea3f

Browse files
committed
chore: tweak cli
1 parent f4063fc commit ba7ea3f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

lib/.index.js.swp

12 KB
Binary file not shown.

lib/index.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,9 @@ module.exports = class Core {
1818

1919
initCli() {
2020
const cli = (this.cli = cac())
21-
this.command = cli
22-
.command('[...branches]')
23-
.usage('[option]')
24-
.action(branches => {
25-
this.deleteBranch(branches)
26-
})
21+
this.command = cli.command('[...branches]').action(branches => {
22+
this.deleteBranch(branches)
23+
})
2724

2825
cli.version(require('../package.json').version).help()
2926

0 commit comments

Comments
 (0)