lib/ayadn/descriptions.rb in ayadn-1.7.7 vs lib/ayadn/descriptions.rb in ayadn-1.8.0
- old
+ new
@@ -731,14 +731,48 @@
Scroll messages:
ayadn -ms -s 46217
- If you've set an alias for the channel, you can display its messages with 'ayadn -ms my_alias'
+ Ayadn will mark this PM channel as read after running this command.
+
+ You can pass an option, `-z`, to avoid this for the time of the command:
+
+ ayadn -ms -z 46217
+
+ Or you can set it off permanently:
+
+ ayadn set marker update_messages false
+
+ If you've set an alias for the channel, you can use it instead of the channel id:
+
+ ayadn -ms my_alias
\n\n
USAGE
end
+ def self.messages_unread
+ <<-USAGE
+ Shows your unread private messages.
+
+ Usage:
+
+ ayadn messages_unread
+
+ ayadn -pmu
+
+ Ayadn will mark all your PM channels as read after running this command.
+
+ You can pass an option, `-z`, to avoid this for the time of the command:
+
+ ayadn -pmu -z
+
+ Or you can set it off permanently:
+
+ ayadn set marker update_messages false
+ \n\n
+ USAGE
+ end
def self.pin
<<-USAGE
Export a POST's link and text with tags to Pinboard.
Usage:
@@ -1193,16 +1227,22 @@
end
def self.nowplaying
<<-USAGE
Post the track you're listening to.
- Usage:
+ Ayadn will insert the album cover, a link and a description.
+ Usage with iTunes (Mac Os X only):
+
ayadn nowplaying
ayadn -np
- (works only with iTunes and Mac Os X)
+ Usage with Last.fm:
+
+ ayadn nowplaying -l
+
+ ayadn -np -l
\n\n
USAGE
end
def self.nowwatching
<<-USAGE