diff --git a/cli/src/main/groovy/com/jdbernard/wdiwtlt/cli/CommandLineInterface.groovy b/cli/src/main/groovy/com/jdbernard/wdiwtlt/cli/CommandLineInterface.groovy index 8569400..55d8e5f 100644 --- a/cli/src/main/groovy/com/jdbernard/wdiwtlt/cli/CommandLineInterface.groovy +++ b/cli/src/main/groovy/com/jdbernard/wdiwtlt/cli/CommandLineInterface.groovy @@ -741,6 +741,8 @@ Available commands: quit Quit this program. A new user is advised to read the help section for the ${cmdStyle}select${normalStyle} command. + +For a quick list of options, consider reading the ${cmdStyle}summary${normalStyle} section. """ // SCAN @@ -804,6 +806,11 @@ ${cmdStyle}select files tagged as ...${normalStyle} This selects all files that are tagged as *both* instrumental and orchestral. +${cmdStyle}select untagged files${normalStyle} + + Select all media files that do not have any tags associated with them. + + ${cmdStyle}select { album | artist | file | playlist | tag } where ...${normalStyle} ${errorStyle}Not yet implemented.${normalStyle} @@ -848,7 +855,7 @@ ${cmdStyle}play ${normalStyle} """ - // PLAY + // ENQUEUE // -------------- case 'enqueue': return """\ enqueue selection @@ -862,6 +869,9 @@ enqueue the selection. """ + + // ADD + // -------------- case 'add': return """\ add selection to playlist @@ -876,6 +886,8 @@ add to playlist """ + // REMOVE + // -------------- case 'remove': return """\ remove selection from queue remove selection from playlist @@ -891,6 +903,9 @@ remove from playlist (including partial match). """ + + // tag + // -------------- case 'tag': return """\ tag ... @@ -910,6 +925,8 @@ tag as ... provided separated by spaces (tags cannot include spaces). """ + // UNTAG + // -------------- case 'untag': return """\ untag ... @@ -930,6 +947,8 @@ taung as ... """ + // CLEAR + // -------------- case 'clear': """\ clear Clear the terminal display. clear queue Clear the play queue. @@ -986,8 +1005,66 @@ volume Set the volume. may be any value from 0 to 200. """ case 'help': return """\ +help summary Display a quick summary of available commands. help Display detailed information about the given command.""" + + case 'summary': return """\ +Selecting files: + + select { album | artist | file | playlist | tag } + select { albums | artists | files | playlists | tags } where + select files tagged as ... and not as ... + select playing { albums | artists | files | playlists | tags } + select queued { albums | artists | files | playlists | tags } + + list selection + list + list selected { albums | artists | files | playlists | tags } + +Play and Controlling Media: + + play + play selection + play bookmark + play + + next (alias: n) + prev (alias: p) + + stop + pause + fasforward (aliases: ff, fwd) + rewind (aliases: rw, rwd) + jump + +Playlist and Queue Management: + + scan + enqueue selection + enqueue + + add selection to playlist to playlist + add to playlist + + remove selection from playlist + remove from playlist + remove selection from queue + remove from queue + + create playlist named from selection + create playlist named + copy playlist as + create bookmark + update bookmark + + clear + clear queue + clear selection + clear playlist + +""" + default: err "Unrecognized command: '$line'" drawLeader()