Skip to content
Myr

More concisely phrase Environment Variables section.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by unknown · committed by unknown · parent e835913 · Browse files · 1 file+3 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−4 removed

  • other:+3 added−4 removed

1 file+3 added−4 removed

modified:docs/arguments.rst+3 added-4 removed
112 unmodified lines
113114Environment Variables115---------------------116117Arguments can only pull from explicit environment variables, that is the118name of the environment variable(s) must be passed into ``click.argument``.117Arguments can use environment variables. To do so pass the name of the environment variable(s) into ``click.argument``.118120Example usage checking one environment variable:119Checking one environment variable:120121.. click:example::122123 @click.command()
12 unmodified lines
136 f.write('Hello World!')137 invoke(echo, env={'SRC': 'hello.txt'})138139141Example usage checking multiple environment variables:140Checking multiple environment variables:141142.. click:example::143144 @click.command()
14 unmodified lines