Class: Snaptoken::Commands::Status
Instance Attribute Summary
Attributes inherited from BaseCommand
#config
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from BaseCommand
#git_to_litdiff!, inherited, #initialize, #litdiff_to_git!, #needs!, #parseopts!
Class Method Details
.name ⇒ Object
2
3
4
|
# File 'lib/snaptoken/commands/status.rb', line 2
def self.name
"status"
end
|
.summary ⇒ Object
6
7
8
9
|
# File 'lib/snaptoken/commands/status.rb', line 6
def self.summary
"Show whether doc/ and repo/ were\n" +
"last modified since the last sync."
end
|
.usage ⇒ Object
11
12
13
|
# File 'lib/snaptoken/commands/status.rb', line 11
def self.usage
""
end
|
Instance Method Details
#run ⇒ Object
18
19
20
|
# File 'lib/snaptoken/commands/status.rb', line 18
def run
needs! :config
end
|
#setopts!(o) ⇒ Object
15
16
|
# File 'lib/snaptoken/commands/status.rb', line 15
def setopts!(o)
end
|