Class: Fizzy::CLI::Tags

Inherits:
Thor
  • Object
show all
Includes:
Base
Defined in:
lib/fizzy/cli/tags.rb

Instance Method Summary collapse

Methods included from Base

included

Instance Method Details

#listObject



9
10
11
12
13
14
# File 'lib/fizzy/cli/tags.rb', line 9

def list
  data = paginator.all("tags")
  output_list(data, headers: %w[ID Title Color]) do |t|
    [t["id"], t["title"] || t["name"], t["color"]]
  end
end