mirror of https://gitlab.com/bashrc2/epicyon
Help command
parent
8a4b79e399
commit
fb8cbea12d
|
@ -37,6 +37,34 @@ from pgp import hasLocalPGPkey
|
|||
from pgp import pgpEncryptToActor
|
||||
|
||||
|
||||
def _desktopHelp() -> None:
|
||||
"""Shows help
|
||||
"""
|
||||
print('')
|
||||
print('Commands:')
|
||||
print('')
|
||||
print('quit Exit from the notification client')
|
||||
print('show dm|sent|inbox|replies Show a timeline')
|
||||
print('mute Turn off the screen reader')
|
||||
print('speak Turn on the screen reader')
|
||||
print('sounds on Turn on notification sounds')
|
||||
print('sounds off Turn off notification sounds')
|
||||
print('rp Repeat the last post')
|
||||
print('like Like the last post')
|
||||
print('unlike Unlike the last post')
|
||||
print('reply Reply to the last post')
|
||||
print('post Create a new post')
|
||||
print('post to [handle] Create a new direct message')
|
||||
print('announce/boost Boost the last post')
|
||||
print('follow [handle] Make a follow request')
|
||||
print('unfollow [handle] Stop following the give handle')
|
||||
print('next Next page in the timeline')
|
||||
print('prev Previous page in the timeline')
|
||||
print('read [post number] Read a post from a timeline')
|
||||
print('open [post number] Open web links within a timeline post')
|
||||
print('')
|
||||
|
||||
|
||||
def _clearScreen() -> None:
|
||||
"""Clears the screen
|
||||
"""
|
||||
|
@ -1336,3 +1364,5 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
|
|||
_sayCommand(sayStr, sayStr, originalScreenReader,
|
||||
systemLanguage, espeak)
|
||||
print('')
|
||||
elif keyPress.startswith('h'):
|
||||
_desktopHelp()
|
||||
|
|
Loading…
Reference in New Issue