File tree Expand file tree Collapse file tree
bourso_api/src/client/transfer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -322,8 +322,18 @@ impl BoursoWebClient {
322322 }
323323 }
324324
325+ /// Transfer funds from one account to another, yielding progress updates
326+ ///
327+ /// ## Arguments
328+ /// - `amount`: Amount to transfer (must be >= 10.0)
329+ /// - `from_account`: Source account
330+ /// - `to_account`: Destination account
331+ /// - `reason`: Optional reason for the transfer (max 50 characters)
332+ ///
333+ /// ## Returns
334+ /// A stream of progress updates for the transfer.
325335 #[ cfg( not( tarpaulin_include) ) ]
326- pub fn transfer_funds_with_progress (
336+ pub fn transfer_funds (
327337 & self ,
328338 amount : f64 ,
329339 from_account : Account ,
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ pub async fn parse_matches(matches: ArgMatches) -> Result<()> {
294294 . find ( |a| a. id == to_account_id)
295295 . context ( "To account not found. Are you sure you have access to it? Run `bourso accounts` to list your accounts" ) ?;
296296
297- let stream = web_client. transfer_funds_with_progress (
297+ let stream = web_client. transfer_funds (
298298 amount,
299299 from_account. clone ( ) ,
300300 to_account. clone ( ) ,
You can’t perform that action at this time.
0 commit comments