From c4ef67153577c775851dba49dc248668a3b23a2c Mon Sep 17 00:00:00 2001 From: Aman Ibrahim Date: Fri, 3 Aug 2018 12:45:54 -0700 Subject: [PATCH] Revert "Added descriptions for addon:admin and addon:admin:manifest" --- src/commands/addons/admin.ts | 13 ------------- src/commands/addons/admin/manifest.ts | 13 ------------- test/commands/addons/admin.test.ts | 17 ----------------- test/commands/addons/admin/manifest.test.ts | 17 ----------------- 4 files changed, 60 deletions(-) delete mode 100644 src/commands/addons/admin.ts delete mode 100644 src/commands/addons/admin/manifest.ts delete mode 100644 test/commands/addons/admin.test.ts delete mode 100644 test/commands/addons/admin/manifest.test.ts diff --git a/src/commands/addons/admin.ts b/src/commands/addons/admin.ts deleted file mode 100644 index 9b8c397..0000000 --- a/src/commands/addons/admin.ts +++ /dev/null @@ -1,13 +0,0 @@ -import {Command, flags} from '@oclif/command' - -export default class AddonsAdmin extends Command { - static description = 'create and manage add-ons' - - static flags = { - help: flags.help({char: 'h'}) - } - - async run() { - this._help(); - } -} diff --git a/src/commands/addons/admin/manifest.ts b/src/commands/addons/admin/manifest.ts deleted file mode 100644 index e5052b5..0000000 --- a/src/commands/addons/admin/manifest.ts +++ /dev/null @@ -1,13 +0,0 @@ -import {Command, flags} from '@oclif/command' - -export default class AddonsAdminManifest extends Command { - static description = 'manage add-on manifests' - - static flags = { - help: flags.help({char: 'h'}) - } - - async run() { - this._help(); - } -} diff --git a/test/commands/addons/admin.test.ts b/test/commands/addons/admin.test.ts deleted file mode 100644 index 5ee8ada..0000000 --- a/test/commands/addons/admin.test.ts +++ /dev/null @@ -1,17 +0,0 @@ -import {expect, test} from '@oclif/test' - -describe('addons:admin', () => { - test - .stdout() - .command(['addons:admin']) - .it('runs hello', ctx => { - expect(ctx.stdout).to.contain('hello world') - }) - - test - .stdout() - .command(['addons:admin', '--name', 'jeff']) - .it('runs hello --name jeff', ctx => { - expect(ctx.stdout).to.contain('hello jeff') - }) -}) diff --git a/test/commands/addons/admin/manifest.test.ts b/test/commands/addons/admin/manifest.test.ts deleted file mode 100644 index 9d09d5d..0000000 --- a/test/commands/addons/admin/manifest.test.ts +++ /dev/null @@ -1,17 +0,0 @@ -import {expect, test} from '@oclif/test' - -describe('addons:admin:manifest', () => { - test - .stdout() - .command(['addons:admin:manifest']) - .it('runs hello', ctx => { - expect(ctx.stdout).to.contain('hello world') - }) - - test - .stdout() - .command(['addons:admin:manifest', '--name', 'jeff']) - .it('runs hello --name jeff', ctx => { - expect(ctx.stdout).to.contain('hello jeff') - }) -})