From ffeb629b7efe11aedbd51e6fb87cea97fae049a7 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 16 Sep 2019 00:26:47 -0400 Subject: [PATCH] Update README.md --- README.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9d32d88..adde1fa 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ format: python-argv: #!/usr/bin/env python from sys import argv - print(argv) + print(argv[1:]) bash-vars: set -euxe @@ -103,16 +103,13 @@ Installing dependencies from Pipfile.lock (2ee04c)… ``` -### `$ bake argv-example WHO=you 1 2 3` +### `$ bake python-argv 1 2 3` ```console - + Executing 'argv-example': -++ echo 'HELLO, you' -HELLO, you -++ echo '[1,' 2, '3]' -[1, 2, 3] + + Executing 'python-argv': + ['1', '2', '3'] + Done. -``` + ``` ### `$ bake dangerous-example`