Class: Agentilda::CLI::Linear::Team

Inherits:
Base
  • Object
show all
Defined in:
lib/agentilda/cli/linear/linear.rb

Overview

Shared by both linear commands: the team is which workspace this is about, so it is an argument rather than a flag. There is no default — a tool that picks a team for you when you forget to say which is a tool that files a quarter of somebody's work in the wrong place.

Direct Known Subclasses

Import, Projects

Constant Summary

Constants included from UI

UI::MAX_WIDTH, UI::METER_WIDTH, UI::MIN_WIDTH, UI::NO_FAILURE, UI::NO_FIELDS, UI::NO_TIMEOUT, UI::PROGRESS_THRESHOLD, UI::TIMER_WARNING, UI::TIMER_WIDTH

Class Method Summary collapse

Methods included from UI

abbreviate, activity_for, animate?, box, box_height, color?, concurrently, countdown, default_jobs, display_width, elapsed, #error, fit, #info, line, log, logging_activity, meter, monotonic, once, paint, #paint, pastel, popup, report_line, reset!, said, #say, solo_spinner, spinning, stepping, #success, threaded, tty?, #warn, width

Class Method Details

.inherited(klass) ⇒ Object



12
13
14
15
16
# File 'lib/agentilda/cli/linear/linear.rb', line 12

def self.inherited(klass)
  super
  klass.argument :team, required: true,
    desc: "The Linear team key that prefixes its issues, e.g. TAX"
end