diff --git a/sgx_jmp.rb b/sgx_jmp.rb index 260849559407295a71c38ede9983f37c160ca007..c236dce8f3948e77cc37704a1446c46bbcd09f3b 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -468,7 +468,7 @@ Command.new( Command.new( "info", - "Show Account Info", + "πŸ‘€ Show Account Info", list_for: ->(*) { true }, customer_repo: CustomerRepo.new(sgx_repo: Bwmsgsv2Repo.new) ) { @@ -481,7 +481,7 @@ Command.new( Command.new( "usage", - "Show Monthly Usage" + "πŸ“Š Show Monthly Usage" ) { report_for = (Date.today..(Date.today << 1)) @@ -496,7 +496,7 @@ Command.new( Command.new( "transactions", - "Show Transactions", + "🧾 Show Transactions", list_for: ->(customer:, **) { !!customer&.currency } ) { Command.customer.then(&:transactions).then do |txs| @@ -508,7 +508,7 @@ Command.new( Command.new( "configure calls", - "Configure Calls", + "πŸ“ž Configure Calls", customer_repo: CustomerRepo.new(sgx_repo: Bwmsgsv2Repo.new) ) { Command.customer.then do |customer| @@ -526,7 +526,7 @@ Command.new( Command.new( "ogm", - "Record Voicemail Greeting", + "⏺️ Record Voicemail Greeting", list_for: ->(fwd: nil, **) { fwd&.voicemail_enabled? }, customer_repo: CustomerRepo.new(sgx_repo: Bwmsgsv2Repo.new) ) { @@ -543,7 +543,7 @@ Command.new( Command.new( "migrate billing", - "Switch from PayPal or expired trial to new billing", + "🏦 Switch to new billing", list_for: ->(tel:, customer:, **) { tel && !customer&.currency }, customer_repo: CustomerRepo.new(sgx_repo: Bwmsgsv2Repo.new) ) { @@ -572,7 +572,7 @@ Command.new( Command.new( "credit cards", - "Credit Card Settings and Management" + "πŸ’³ Credit Card Settings and Management" ) { Command.customer.then do |customer| url = CONFIG[:credit_card_url].call( @@ -590,7 +590,7 @@ Command.new( Command.new( "top up", - "Buy Account Credit by Credit Card", + "πŸ’² Buy Account Credit by Credit Card", list_for: ->(payment_methods: [], **) { !payment_methods.empty? }, format_error: ->(e) { "Failed to buy credit, system said: #{e.message}" } ) { @@ -614,7 +614,7 @@ Command.new( Command.new( "alt top up", - "Buy Account Credit by Bitcoin, Mail, or Interac e-Transfer", + "πŸͺ™ Buy Account Credit by Bitcoin, Mail, or Interac e-Transfer", list_for: ->(customer:, **) { !!customer&.currency } ) { Command.customer.then { |customer| @@ -631,7 +631,7 @@ Command.new( Command.new( "plan settings", - "Manage your plan, including overage limits", + "πŸ“ Manage your plan, including overage limits", list_for: ->(customer:, **) { !!customer&.currency } ) { Command.customer.then do |customer| @@ -649,7 +649,7 @@ Command.new( Command.new( "referral codes", - "Refer a friend for free credit" + "πŸ‘₯ Refer a friend for free credit" ) { Command.customer.then(&:unused_invites).then do |invites| if invites.empty? @@ -674,7 +674,7 @@ Command.new( Command.new( "sims", - "(e)SIM Details", + "πŸ“Ά (e)SIM Details", list_for: ->(customer:, **) { CONFIG[:keepgo] && !!customer&.currency } ) { Command.customer.then(&SIMRepo.new.method(:owned_by)).then do |sims| @@ -695,7 +695,7 @@ Command.new( Command.new( "reset sip account", - "Create or Reset SIP Account", + "☎️ Create or Reset SIP Account", customer_repo: CustomerRepo.new(sgx_repo: Bwmsgsv2Repo.new) ) { Command.customer.then do |customer| @@ -724,7 +724,7 @@ Command.new( Command.new( "lnp", - "Port in your number from another carrier", + "#️⃣ Port in your number from another carrier", list_for: ->(**) { true } ) { EMPromise.all([