diff options
| author | Franck Cuny <franck@fcuny.net> | 2023-06-01 19:35:59 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2023-06-01 19:35:59 -0700 |
| commit | a187752c824b47052d33d3bc12749b5a7d2e8191 (patch) | |
| tree | d939397496dcae8a7634a93b159fab57ee1752ec /snippets/python-mode/cli | |
| parent | elfeed: add more feeds (diff) | |
| download | emacs.d-a187752c824b47052d33d3bc12749b5a7d2e8191.tar.gz | |
🤡
Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852
Diffstat (limited to '')
| -rw-r--r-- | snippets/python-mode/cli | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/snippets/python-mode/cli b/snippets/python-mode/cli new file mode 100644 index 0000000..f5e9503 --- /dev/null +++ b/snippets/python-mode/cli @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: cli +# key: cli +# -- +import click + + +@click.command() +@click.version_option() +def cli(): + pass + + +if __name__ == "__main__": + cli()
\ No newline at end of file |
