import clc from 'cli-color' ; import CommandInterface from '../faces/command' ; import ArgumentsInterface from '../faces/arguments' ; const command = { name : 'wallet-forget' , aliases : [ 'wf' ] , description : `Removes a previously saved wallet` , execute : async ( args ) : Promise < void > => { const { config , debug } = args ; try { config . delete ( 'wallet' ) ; } catch ( e ) { console . log ( clc . red ( 'Unable to forget the wallet.' ) ) ; if ( debug ) console . log ( e ) ; } } , } ; export default command ;