Sha256: 2f54d69a839bc9cb8ee30c8884fdaabc68bd413821e63d7057ccb92e8055a899
Contents?: true
Size: 580 Bytes
Versions: 22
Compression:
Stored size: 580 Bytes
Contents
module Dandelion module Command class Status < Command::Base command :status def self.parser(options) OptionParser.new do |opts| opts.banner = 'Usage: dandelion status' end end def execute! log.info("Connecting to #{adapter.to_s}") local_commit = workspace.local_commit remote_commit = workspace.remote_commit log.info("Remote revision: #{remote_commit ? remote_commit.oid : '---'}") log.info("Local HEAD revision: #{workspace.local_commit.oid}") end end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
dandelion-0.4.0 | lib/dandelion/command/status.rb |
dandelion-0.4.0.beta2 | lib/dandelion/command/status.rb |