aboutsummaryrefslogtreecommitdiff
path: root/Command/RegisterUrl.hs
Commit message (Collapse)AuthorAge
* convert all commands to work with optparse-applicativeGravatar Joey Hess2015-07-08
| | | | Still no options though.
* started converting to use optparse-applicativeGravatar Joey Hess2015-07-08
| | | | | | | | | | | | This is a work in progress. It compiles and is able to do basic command dispatch, including git autocorrection, while using optparse-applicative for the core commandline parsing. * Many commands are temporarily disabled before conversion. * Options are not wired in yet. * cmdnorepo actions don't work yet. Also, removed the [Command] list, which was only used in one place.
* fromkey, registerurl: Allow urls to be specified instead of keys, and ↵Gravatar Joey Hess2015-05-22
| | | | | | | | generate URL keys. This is especially useful because the caller doesn't need to generate valid url keys, which involves some escaping of characters, and may involve taking a md5sum of the url if it's too long.
* fromkey, registerurl: When reading from stdin, allow the filename and url, ↵Gravatar Joey Hess2015-04-07
| | | | respectively, to contain whitespace.
* registerurl: New plumbing command for mass-adding urls to keys.Gravatar Joey Hess2015-03-15