Class: Fizzy::CLI::Tags
- Inherits:
-
Thor
- Object
- Thor
- Fizzy::CLI::Tags
- Includes:
- Base
- Defined in:
- lib/fizzy/cli/tags.rb
Instance Method Summary collapse
Methods included from Base
Instance Method Details
#list ⇒ Object
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 |