File tree Expand file tree Collapse file tree
contentstack-export/src/commands/cm/stacks
contentstack-import/src/commands/cm/stacks Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {
1414 getSessionLogPath ,
1515 CLIProgressManager ,
1616 clearProgressModuleSetting ,
17+ loadChalk ,
1718} from '@contentstack/cli-utilities' ;
1819
1920import { ModuleExporter } from '../../../export' ;
@@ -87,6 +88,7 @@ export default class ExportCommand extends Command {
8788 } ;
8889
8990 async run ( ) : Promise < void > {
91+ await loadChalk ( ) ;
9092 let exportDir : string = pathValidator ( 'logs' ) ;
9193 try {
9294 const { flags } = await this . parse ( ExportCommand ) ;
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {
1313 cliux ,
1414 clearProgressModuleSetting ,
1515 createLogContext ,
16+ loadChalk ,
1617} from '@contentstack/cli-utilities' ;
1718
1819import { Context , ImportConfig } from '../../../types' ;
@@ -117,6 +118,7 @@ export default class ImportCommand extends Command {
117118 // setup import config
118119 // initialize the importer
119120 // start import
121+ await loadChalk ( ) ;
120122 let backupDir : string ;
121123 let importConfig : ImportConfig ;
122124 try {
You can’t perform that action at this time.
0 commit comments