class Abt::Providers::Devops::Commands::Share

Public Class Methods

description() click to toggle source
# File lib/abt/providers/devops/commands/share.rb, line 12
def self.description
  "Print DevOps ARI"
end
usage() click to toggle source
# File lib/abt/providers/devops/commands/share.rb, line 8
def self.usage
  "abt share devops[:<organization-name>/<project-name>/<board-id>[/<work-item-id>]]"
end

Public Instance Methods

perform() click to toggle source
# File lib/abt/providers/devops/commands/share.rb, line 16
def perform
  if path != ""
    cli.print_ari("devops", path)
  elsif cli.output.isatty
    warn("No configuration for project. Did you initialize DevOps?")
  end
end