Skip to content

r0man/docopt.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docopt.el

https://github.com/r0man/docopt.el/workflows/CI/badge.svg

A Docopt implementation in Emacs Lisp.

Usage

The Emacs command M-x docopt asks the user for the name of a Docopt shell command, builds an Emacs transient command from the usage help of the shell command, and finally, invokes the transient command.

Example

The Emacs transient command for the Docopt example program naval-fate (must be in PATH) can be invoked with M-x docopt [RET] "naval-fate" [RET].

doc/docopt.gif

License

Copyright © 2020 r0man

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.