Sha256: aeebf7b9e4bd0a9cb82d78272a531a5daa130a802c52f51a29f816ef47d60a0b

Contents?: true

Size: 356 Bytes

Versions: 4

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

require_relative './shared/repo_name'

class Ci < Aid::Script
  def self.description
    'Opens up CircleCI for this project'
  end

  def self.help
    <<~HELP
      Usage: $ aid ci
    HELP
  end

  def run
    url = "https://circleci.com/gh/#{RepoName.name}"

    puts "Opening #{url}"
    system("open #{url}")
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
aid-0.2.2 examples/ci.rb
abtion-aid-0.3.2 examples/ci.rb
abtion-aid-0.3.1 examples/ci.rb
abtion-aid-0.2.0 examples/ci.rb