Class: Slk::Commands::Later
- Includes:
- Support::InlineImages
- Defined in:
- lib/slk/commands/later.rb
Overview
Displays saved “Later” items from Slack rubocop:disable Metrics/ClassLength
Instance Attribute Summary
Attributes inherited from Base
#options, #positional_args, #runner
Instance Method Summary collapse
Methods included from Support::InlineImages
#convert_to_png, #in_tmux?, #inline_images_supported?, #iterm2_protocol_supported?, #kitty_graphics_supported?, #png_data?, #print_inline_image, #print_inline_image_with_text, #print_iterm_image, #print_kitty_image, #print_tmux_iterm_image, #print_tmux_kitty_image, #read_image_data_for_protocol, #tmux_client_is_kitty_compatible?
Methods inherited from Base
Constructor Details
This class inherits a constructor from Slk::Commands::Base
Instance Method Details
#execute ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/slk/commands/later.rb', line 13 def execute result = return result if result workspace = target_workspaces.first fetch_and_display_later_items(workspace) rescue ApiError => e error("Failed to fetch saved items: #{e.}") 1 end |