diff --git a/packages/contentstack-auth/src/commands/auth/tokens/remove.ts b/packages/contentstack-auth/src/commands/auth/tokens/remove.ts index e76dec41e5..209bc32410 100644 --- a/packages/contentstack-auth/src/commands/auth/tokens/remove.ts +++ b/packages/contentstack-auth/src/commands/auth/tokens/remove.ts @@ -6,7 +6,6 @@ export default class TokensRemoveCommand extends BaseCommand']; static flags: FlagInput = { alias: flags.string({ char: 'a', description: 'Alias (name) of the token to delete.' }), - ignore: flags.boolean({ char: 'i', description: 'Ignores if the token is not present.' }), }; async run(): Promise { @@ -17,21 +16,20 @@ export default class TokensRemoveCommand extends BaseCommand = []; - - if (token || ignore) { - log.debug('Token found, or ignore flag set.', {...this.contextDetails, hasToken: !!token, ignore }); + + if (token) { + log.debug('Token found.', {...this.contextDetails, hasToken: !!token }); configHandler.delete(`tokens.${alias}`); log.debug('Token removed from configuration.', {...this.contextDetails, alias }); return cliux.success(`CLI_AUTH_TOKENS_REMOVE_SUCCESS`); diff --git a/packages/contentstack-config/src/commands/config/set/region.ts b/packages/contentstack-config/src/commands/config/set/region.ts index 5671515955..fa8818d614 100644 --- a/packages/contentstack-config/src/commands/config/set/region.ts +++ b/packages/contentstack-config/src/commands/config/set/region.ts @@ -30,7 +30,6 @@ export default class RegionSetCommand extends BaseCommand