chore: sync CLI languages with Rust CLI changes#766
Merged
erdemyerebasmaz merged 1 commit intomainfrom Mar 26, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated sync of language CLIs from Rust CLI changes.
Source commit:
33c2c86Workflow run: View logs
Approved from: dry-run #23616423353
Language status:
Sync findings
C#
Divergences
webhookssubcommand group (register, unregister, list) — present in Rust CLI (command/webhooks.rs), absent in C# CLIbuy-bitcoincommand only supported Moonpay provider with--locked-amount-satflag; Rust CLI supports both Moonpay and CashApp via--providerand--amount-satflagsApplied
Webhooks.cswith register, unregister, and list subcommand handlers matching Rust webhooks.rsProgram.csto dispatchwebhookssubcommands, add webhook command names to tab-completionCommands.csHandleBuyBitcoin to support--providerflag (moonpay/cashapp/cash_app/cash-app) and--amount-satflag, matching Rust BuyBitcoin behaviorCommands.csbuy-bitcoin description from "Buy Bitcoin via MoonPay" to "Buy Bitcoin using an external provider"Commands.csPrintHelp to include webhooks subcommand groupREADME.mdto include webhooks in available commandsSkipped
Dart
Divergences
BuyBitcoinRequest::CashAppresolvePasskeySeedused stub Nostr operations (print "not yet supported") instead of calling the SDK'sPasskey,NostrRelayConfig,passkey.listLabels(),passkey.storeLabel(), andpasskey.getWallet()APIs which are available in the Flutter SDKrpidfield, which was parsed from CLI args but never passed throughApplied
contacts.dartcontacts.dartwebhooks.dartwith register, unregister, and list commands matching Rust CLI'swebhooks.rscli.dart--providerflag incommands.dartPasskeyclass withNostrRelayConfigfor proper Nostr label store/list/select andgetWallet()for seed derivationrpidfield toPasskeyConfigclass and passed it through frombin/breez_cli.dartwebhooks <subcommand>to README commands listSkipped
fido2_client(pub.dev) only supports mobile platform channels, not desktop CLI; no Dart equivalent ofyubico-managerorctap-hid-fido2crates exists.Go
Divergences
webhookscommand group (register, unregister, list) in Go CLIbuy-bitcoinmissing--providerflag and CashApp support; flag named--amountinstead of--amount-satset-user-settingsflag mismatch: Rust uses-p/--private, Go used--spark-private-modefetch-conversion-limitsused--tokenflag instead of positionaltoken_identifier; missing-fshort flag for--from-bitcoinlnurl-withdrawmissing-tshort flag for--timeoutApplied
webhooks.gowith register/unregister/list commands matching Rustwebhooks.rsmain.goto dispatchwebhookssubcommand and add webhook completion entriescommands.goPrintHelp to show webhooks subcommand groupcommands.gohandleBuyBitcointo support--providerflag (moonpay/cashapp), renamed--amountto--amount-sat, added CashApp variantcommands.gohandleSetUserSettingsflag from--spark-private-modeto-p/--privatecommands.gohandleFetchConversionLimitsto use positionaltoken_identifierand added-fshort flagcommands.gohandleLnurlWithdrawto add-tshort flag for--timeoutserialization.goto includeWebhookEventTypeandBuyBitcoinRequestvariant prefixesREADME.mdto list webhooks commands in Available Commands sectionPython
Divergences
receivecommand missing--new-addressflag for bitcoin address method (Rust has it since new_address field on BitcoinAddress variant)buy-bitcoincommand only supported MoonPay; Rust CLI added CashApp provider with--providerflag and renamed--locked-amount-satto--amount-satwebhookssubcommand group (register, unregister, list) entirely missing from Python CLIApplied
--new-addressflag toreceivecommand parser and handler incommands.pybuy-bitcointo support--provider(moonpay/cashapp),--amount-sat, usingBuyBitcoinRequest.CASH_APP/BuyBitcoinRequest.MOONPAYvariants incommands.pywebhooks.pywith register, unregister, and list subcommands matching Rustcommand/webhooks.rsmain.py(import, REPL command routing, help output, tab completion)README.mdSkipped
React Native
Divergences
Applied
src/webhooks.tswith register, unregister, list handlers matching Rust CLI webhooks.rssrc/commands.tssrc/commands.tssrc/commands.tssrc/App.tsxREADME.mdwith webhooks and buy-bitcoin provider documentationSkipped
TypeScript
Divergences
receivecommand missing--new-addressflag for bitcoin payment method (Rust passesnew_addresstoBitcoinAddressvariant)buy-bitcoincommand missing--provideroption and CashApp support; used old--locked-amount-satinstead of--amount-sat;BuyBitcoinRequestshould use tagged union withtype: 'moonpay'ortype: 'cashApp'webhookssubcommand group entirely missing (register, unregister, list) — Rust has full webhook management viaWebhookCommandApplied
--new-addressflag toreceivecommand and passnewAddressin bitcoin payment method (commands.js)buy-bitcoincommand with--provideroption (default: moonpay),--amount-satflag, and CashApp support using tagged union (commands.js)webhooks.jswith register, unregister, and list subcommands matching Rustwebhooks.rscommands.jsREADME.mdSkipped
Warning
Some patches failed to apply. The target files may have changed since the sync ran.
Failed languages: golang
Consider re-running the sync for these languages.