mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-26 12:55:18 +01:00
nonfunctional changes in notmuch stub
--HG-- extra : transplant_source : %F2%28%18m%91%F5%DA%08%17%AC/%9E%C2%AE%95%91%92%C4%A3%7F
This commit is contained in:
parent
ce50b33cf0
commit
5cb8dbeab5
1 changed files with 7 additions and 6 deletions
11
notmuch
11
notmuch
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
"""This is a notmuch implementation in python. It's goal is to allow running the test suite on the cnotmuch python bindings."""
|
||||
import sys
|
||||
from cnotmuch import notmuch
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
HELPTEXT="""The notmuch mail system.
|
||||
|
||||
|
@ -53,7 +55,7 @@ Where <command> and [args...] are as follows:
|
|||
Use "notmuch help <command>" for more details on each command.
|
||||
And "notmuch help search-terms" for the common search-terms syntax.
|
||||
"""
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#TODO: replace the dynamic pieces
|
||||
USAGE="""Notmuch is configured and appears to have a database. Excellent!
|
||||
|
||||
|
@ -95,6 +97,9 @@ if __name__ == '__main__':
|
|||
if len(sys.argv) == 2: print HELPTEXT
|
||||
else: print "Not implemented"
|
||||
|
||||
elif sys.argv[1] == 'new':
|
||||
#TODO: handle --verbose
|
||||
print "Not implemented."
|
||||
else:
|
||||
# unknown command
|
||||
print "Error: Unknown command '%s' (see \"notmuch help\")" % sys.argv[1]
|
||||
|
@ -102,10 +107,6 @@ if __name__ == '__main__':
|
|||
|
||||
#TODO: implement
|
||||
"""
|
||||
new [--verbose]
|
||||
|
||||
Find and import new messages to the notmuch database.
|
||||
|
||||
search [options...] <search-terms> [...]
|
||||
|
||||
Search for messages matching the given search terms.
|
||||
|
|
Loading…
Reference in a new issue