From f0f2fb5c4961d11f238ce1cd3c47924b46e5a5e8 Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Thu, 18 Jun 2020 19:29:25 +0200 Subject: [PATCH] Add a hello world --- hello_world.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 hello_world.py diff --git a/hello_world.py b/hello_world.py new file mode 100644 index 0000000..d72379e --- /dev/null +++ b/hello_world.py @@ -0,0 +1,13 @@ +#!/bin/env python3 + +import click + + +@click.command() +@click.argument('name', nargs=1) +def hello(name): + print("Hello {name}".format(name=name)) + + +if __name__ == '__main__': + hello() -- GitLab