soul_points 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/soul_points/client.rb +12 -1
- data/lib/soul_points/version.rb +1 -1
- metadata +1 -1
data/lib/soul_points/client.rb
CHANGED
@@ -45,7 +45,18 @@ class SoulPoints::Client
|
|
45
45
|
|
46
46
|
def help( args )
|
47
47
|
puts 'Usage:'
|
48
|
-
puts '$ soul_points show mcphat
|
48
|
+
puts '$ soul_points show mcphat #Displays soul points for user mcphat'
|
49
|
+
puts '$ soul_points gain 10 "Something awesome happend" '
|
50
|
+
puts '$ soul_points lose 10 "Something terrible happend"'
|
51
|
+
puts '$ soul_points gain 10 "Something awesome happend" --twitter #Also posts to twitter if you have it enabled on the site '
|
52
|
+
puts '$ soul_points gain 10 "Something awesome happend" --no-twitter #Will override any default settings in your ~/.soul_points file and not post to twitter '
|
53
|
+
puts ''
|
54
|
+
puts 'Your ~/.soul_points file may contain the following. You can replace 1 with 0 to get the desired effect.'
|
55
|
+
puts 'The command line options override any defaults you may have in your ~/.soul_points file.'
|
56
|
+
puts ''
|
57
|
+
puts ':always_post_to_campfire: 1'
|
58
|
+
puts ':always_post_to_twitter: 1'
|
59
|
+
puts ':always_post_to_jaconda: 1'
|
49
60
|
end
|
50
61
|
|
51
62
|
# Show your current soul points
|
data/lib/soul_points/version.rb
CHANGED