diff options
Diffstat (limited to '')
-rw-r--r-- | snippets/python-mode/cli | 15 | ||||
-rw-r--r-- | snippets/python-mode/function (renamed from emacs/etc/snippets/python-mode/function) | 0 | ||||
-rw-r--r-- | snippets/python-mode/main (renamed from emacs/etc/snippets/python-mode/main) | 0 |
3 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 diff --git a/emacs/etc/snippets/python-mode/function b/snippets/python-mode/function index ffde801..ffde801 100644 --- a/emacs/etc/snippets/python-mode/function +++ b/snippets/python-mode/function diff --git a/emacs/etc/snippets/python-mode/main b/snippets/python-mode/main index b1564a8..b1564a8 100644 --- a/emacs/etc/snippets/python-mode/main +++ b/snippets/python-mode/main |