import { IPicGo , IPlugin } from '../../types' ; const proxy = { handle : ( ctx ) => { const cmd = ctx . cmd ; cmd . program . option ( '-p, --proxy <url>' , 'set proxy for uploading' , ( proxy ) => { ctx . setConfig ( { 'picBed.proxy' : proxy } ) ; } ) ; } } ; export default proxy ;