Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r0man/docopt.el
A Docopt implementation in Emacs Lisp.
https://github.com/r0man/docopt.el
docopt emacs emacs-lisp transient
Last synced: 4 months ago
JSON representation
A Docopt implementation in Emacs Lisp.
- Host: GitHub
- URL: https://github.com/r0man/docopt.el
- Owner: r0man
- License: gpl-3.0
- Created: 2020-02-04T20:26:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-16T09:58:46.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T10:26:17.318Z (4 months ago)
- Topics: docopt, emacs, emacs-lisp, transient
- Language: Emacs Lisp
- Homepage:
- Size: 7.3 MB
- Stars: 27
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* docopt.el
[[https://github.com/r0man/docopt.el/actions?query=workflow%3ACI][https://github.com/r0man/docopt.el/workflows/CI/badge.svg]]
A [[http://docopt.org/][Docopt]] implementation in Emacs Lisp.
** Usage
The Emacs command =M-x docopt= asks the user for the name of a
[[http://docopt.org/][Docopt]] shell command, builds an Emacs [[https://github.com/magit/transient][transient]] command from the
usage help of the shell command, and finally, invokes the transient
command.** Example
The Emacs transient command for the [[http://docopt.org/][Docopt]] example program
[[https://github.com/r0man/docopt.el/blob/master/bin/naval-fate][naval-fate]] (must be in =PATH=) can be invoked with =M-x docopt
[RET] "naval-fate" [RET]=.[[doc/docopt.gif]]
** License
Copyright © 2020 [[https://github.com/r0man][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.