diff --git a/.eslintignore b/.eslintignore
index 502167f..af2d2e8 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1 +1,2 @@
/lib
+lib/
diff --git a/src/commands/add/prettier.ts b/src/commands/add/prettier.ts
index b0c35ed..5478799 100644
--- a/src/commands/add/prettier.ts
+++ b/src/commands/add/prettier.ts
@@ -3,7 +3,7 @@ import { BaseCommand } from '../../utls/base-command';
import { system, filesystem } from 'gluegun';
import * as prompts from 'prompts';
import * as fs from 'fs';
-import { plugins, statusMatrix, add, commit } from 'isomorphic-git';
+import { plugins, add, commit } from 'isomorphic-git';
import { BaseAddCommand } from '../../utls/base-add-command';
plugins.set('fs', fs);
diff --git a/src/commands/hello/index.ts b/src/commands/hello/index.ts
deleted file mode 100644
index 1493f34..0000000
--- a/src/commands/hello/index.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-import { Command, flags } from '@oclif/command';
-
-export default class Index extends Command {
- static description = 'describe the command here';
-
- static examples = [
- `$ nbx hello
-hello world from ./src/hello.ts!
-`,
- ];
-
- static flags = {
- help: flags.help({ char: 'h' }),
- // flag with a value (-n, --name=VALUE)
- name: flags.string({ char: 'n', description: 'name to print' }),
- // flag with no value (-f, --force)
- force: flags.boolean({ char: 'f' }),
- };
-
- static args = [{ name: 'file' }];
-
- async run() {
- const { args, flags } = this.parse(Index);
-
- const name = flags.name || 'world';
- this.log(`hello ${name} (${args.file}) from ./src/commands/hello.ts`);
- if (args.file && flags.force) {
- this.log(`you input --force and --file: ${args.file}`);
- }
- }
-}
diff --git a/src/utls/base-command.ts b/src/utls/base-command.ts
index bec0f1e..fb4d982 100644
--- a/src/utls/base-command.ts
+++ b/src/utls/base-command.ts
@@ -27,7 +27,7 @@ export abstract class BaseCommand extends Command {
async init() {
// do some initialization
- const { flags, args, argv } = this.parse(>this.constructor);
+ const { flags, args, argv } = this.parse(this.constructor as Input);
this.flags = flags;
if (flags.verbose) {