Skip to content

Commit dd076ce

Browse files
committed
refactoring command folder
1 parent 534cdff commit dd076ce

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

src/commands/content-type/audit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Command from '../command'
1+
import Command from '../../core/command'
22
import {flags} from '@contentstack/cli-command'
33
import cli from 'cli-ux'
44
import buildOutput from '../../core/content-type/audit'

src/commands/content-type/compare.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Command from '../command'
1+
import Command from '../../core/command'
22
import {flags} from '@contentstack/cli-command'
33
import cli from 'cli-ux'
44
import buildOutput from '../../core/content-type/compare'

src/commands/content-type/details.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Command from '../command'
1+
import Command from '../../core/command'
22
import {flags} from '@contentstack/cli-command'
33
import buildOutput from '../../core/content-type/details'
44
import cli from 'cli-ux'

src/commands/content-type/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Command from '../command'
1+
import Command from '../../core/command'
22
import {flags} from '@contentstack/cli-command'
33
import cli from 'cli-ux'
44
import buildOutput from '../../core/content-type/list'

src/commands/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {Command} from '@contentstack/cli-command'
2-
import {BuildOutput} from '../core/content-type/build-output'
3-
import ContentstackClient from '../core/contentstack/client'
2+
import {BuildOutput} from './content-type/build-output'
3+
import ContentstackClient from './contentstack/client'
44

55
export default class ContentTypeCommand extends Command {
66
protected static RequestDataMessage = 'Requesting data';

0 commit comments

Comments
 (0)