move help.md into src/
This commit is contained in:
30
help.md
30
help.md
@@ -1,30 +0,0 @@
|
|||||||
# commands
|
|
||||||
|
|
||||||
Anything sent without a command is assumed to be a new task to be added
|
|
||||||
|
|
||||||
## actions on tasks
|
|
||||||
- `/add <task-text>` - Add a new task
|
|
||||||
- `/do <id> [id [id [id]...]]` - Do task(s)
|
|
||||||
- `/priority <priority> <id> [id [id [id]...]]` - Set the priority of task(s)
|
|
||||||
- `/rm <id> [id [id [id]...]]` - Remove task(s)
|
|
||||||
- `/undo <id> [id [id [id]...]]` - undo task(s)
|
|
||||||
|
|
||||||
### fuzzy actions
|
|
||||||
- `/fdo <text to match>`
|
|
||||||
- `/fpriority <text to match>`
|
|
||||||
- `/frm <text to match>`
|
|
||||||
- `/fundo <text to match>`
|
|
||||||
|
|
||||||
## general
|
|
||||||
- `/export` - Send all tasks as plaintext
|
|
||||||
- `/help` - Show help information
|
|
||||||
- `/ls [filters]` - List tasks
|
|
||||||
- `/last` - Run the last command sent
|
|
||||||
- `/marco` - Test if bot is up
|
|
||||||
|
|
||||||
|
|
||||||
## /ls filters
|
|
||||||
- `f[ilter]:<text>` - Tasks must have this text in it
|
|
||||||
- `!f[ilter]:<text>` - Tasks must **not** have this text in it
|
|
||||||
- `:show-done` - Show and include done tasks
|
|
||||||
- `:only-done` - Show only done tasks
|
|
@@ -14,7 +14,7 @@ from fuzzywuzzy import process
|
|||||||
from fuzzywuzzy import fuzz
|
from fuzzywuzzy import fuzz
|
||||||
from pydo import Task
|
from pydo import Task
|
||||||
|
|
||||||
VERSION = "v1.1"
|
VERSION = "v1.1.1"
|
||||||
|
|
||||||
|
|
||||||
PROPERTY_LAST_COMMAND = "last_command"
|
PROPERTY_LAST_COMMAND = "last_command"
|
||||||
@@ -388,7 +388,7 @@ def user_help_info(chat_id):
|
|||||||
with open('help.md') as help_file:
|
with open('help.md') as help_file:
|
||||||
text = help_file.read()
|
text = help_file.read()
|
||||||
text += "\ntodo.txt bot for Telegram version {0}".format(VERSION)
|
text += "\ntodo.txt bot for Telegram version {0}".format(VERSION)
|
||||||
text += "\n[View help on GitHub](alvierahman90.github.io/todo.txt_telegram/help.html)"
|
text += "\n[View help on GitHub](alvierahman90.github.io/todo.txt_telegram/src/help.html)"
|
||||||
BOT.sendMessage(chat_id, text, parse_mode='Markdown')
|
BOT.sendMessage(chat_id, text, parse_mode='Markdown')
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user