diff options
author | June McEnroe <june@causal.agency> | 2020-12-16 17:06:16 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-16 17:06:16 -0500 |
commit | c3ede99d15304078619415f6a5fb42e88402949b (patch) | |
tree | f815b71f98bc27157135c5cce410171cc1ca9348 /notemap.1 | |
parent | Take username as a required positional argument (diff) | |
download | notemap-c3ede99d15304078619415f6a5fb42e88402949b.tar.gz notemap-c3ede99d15304078619415f6a5fb42e88402949b.zip |
Add git-notemap wrapper
Diffstat (limited to '')
-rw-r--r-- | notemap.1 | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/notemap.1 b/notemap.1 index 0855524..0c8a9b4 100644 --- a/notemap.1 +++ b/notemap.1 @@ -3,7 +3,8 @@ .Os . .Sh NAME -.Nm notemap +.Nm notemap , +.Nm git-notemap .Nd mirror notes to IMAP . .Sh SYNOPSIS @@ -16,6 +17,16 @@ .Ar user .Op Ar . +.Nm git +.Cm notemap +.Op Fl afv +.Op Fl M Ar mailbox +.Op Fl h Ar host +.Op Fl m Ar file +.Op Fl p Ar port +.Op Fl u Ar user +.Op Ar +. .Sh DESCRIPTION The .Nm @@ -49,6 +60,15 @@ or standard input if is used. . .Pp +The +.Nm git-notemap +wrapper uses +.Xr git-config 1 +and +.Xr gitcredentials 7 +for defaults and authentication. +. +.Pp The arguments are as follows: .Bl -tag -width Ds .It Fl M Ar mailbox @@ -76,9 +96,30 @@ Log IMAP protocol to standard error. Read the password from standard input. .El . +.Pp +The +.Nm git-notemap +wrapper loads defaults +from the following +.Xr git-config 1 +options: +.Cm notemap.imapServer , +.Cm notemap.imapServerPort , +.Cm notemap.imapUser , +.Cm notemap.imapPass , +.Cm notemap.imapMailbox , +.Cm notemap.mapFile . +If +.Cm notemap.imapPass +is unset, +the password is obtained through +.Xr gitcredentials 7 . +. .Sh EXAMPLES .Bd -literal notemap -a june@causal.agency note.txt +git config notemap.imapUser june@causal.agency +git notemap note.txt .Ed . .Sh STANDARDS |