You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NoSuchOption errors take ctx so that --help hint gets printed
in error output.
(#860)
Fixed the behavior of Click error messages with regards to Unicode
on 2.x and 3.x. Message is now always Unicode and the str and
Unicode special methods work as you expect on that platform.
(#862)
Document how auto_envvar_prefix works with command groups.
(#1011)
Don't add newlines by default for progress bars.
(#1013)
Use Python sorting order for ZSH completions.
(#1047, #1059)
Document that parameter names are converted to lowercase by default.
(#1055)
Subcommands that are named by the function now automatically have
the underscore replaced with a dash. If you register a function
named my_command it becomes my-command in the command line
interface.
Hide hidden commands and options from completion.
(#1058, #1061)
Fix absolute import blocking Click from being vendored into a
project on Windows.
(#1068, #1069)
Fix issue where a lowercase auto_envvar_prefix would not be
converted to uppercase.
(#1105)
The text was updated successfully, but these errors were encountered:
There are new versions of click available from pypi.
7.0
Released 2018-09-25
(#967,
#976)
click.Choice
's missing message.(#202,
#1000)
(#323,
#865)
Python 2. (#334)
CliRunner
.(#334,
#1010)
--help
option.(#393,
#557)
(#409,
#889)
(#414)
DateTime
type for converting input in given date time formats.(#423)
secho
's first argument can now beNone
, like inecho
.(#424)
ZeroDivisionError
inProgressBar.make_step
, when the argpassed to the first call of
ProgressBar.update
is 0.(#447,
#1012)
(#487)
(#500)
required=True
.(#514,
#1022)
Context.exit
return the exit code, ratherthan calling
sys.exit
.(#533,
#667,
#1098)
click.getchar()
returns Unicode in Python 3 on Windows, consistentwith other platforms.
(#537,
#821,
#822,
#1088,
#1108)
FloatRange
type.(#538,
#553)
type=click.Choice
forOptions
andArguments
.(#535,
#681)
Argument
parameter declaration.(#568,
#574,
#1014)
case_sensitive=False
as an option to Choice.(#569)
click.getchar()
correctly raisesKeyboardInterrupt
on "^C"and
EOFError
on "^D" on Linux.(#583,
#1115)
click.getchar(echo=True)
on Linux.(#1115)
param_hint
in errors now derived from param itself.(#598,
#704,
#709)
usage error, its metavar is used, not its name.
(#612)
prog_name
as extra inCliRunner.invoke
.(#616,
#999)
\f
form feedcharacter, useful for hiding Sphinx-style parameter documentation.
(#629,
#1091)
launch
now works properly under Cygwin.(#650)
(#651,
#706)
CliRunner.invoke
now may receiveargs
as a string representing aUnix shell command.
(#664)
Argument.make_metavar()
default to type metavar.(#675)
ignore_unknown_options
.(#684)
click.style
and fix the reset optionfor parameters
fg
andbg
.(#703,
#809)
show_envvar
for showing environment variables in help.(#710)
BrokenPipeError
during interpreter shutdown when stdout orstderr is a closed pipe.
(#712,
#1106)
(#725,
#1016)
sys._getframes()
on Python interpreters that don'tsupport it. (#728)
sys.exit
withNone
.(#739)
(#741,
#1003)
(#744)
chained commands.
(#754,
#774)
callback. (#755)
(#773)
completions that start with the incomplete argument.
(#790,
#806)
deterministic.
(#793,
#794)
(#795,
#1020)
Option
naming: functionality.(#799)
path_type
.(#801)
(#807)
click.echo
on Windows.(#816,
#819)
Windows 7. (#825,
#830)
(#842)
NoSuchOption
errors takectx
so that--help
hint gets printedin error output.
(#860)
on 2.x and 3.x. Message is now always Unicode and the str and
Unicode special methods work as you expect on that platform.
(#862)
(#863)
(#866,
#869)
CliRunner
to separate stdout and stderr.(#868)
(#873,
#874)
(#877)
ResourceWarning
that occurs during some tests.(#878)
locale
command fails. (#880)
case_sensitive=False
as an option toChoice
types.(#887)
patched standard streams like those from Jupyter.
(#918)
(#919,
#930)
_AtomicFile
now uses therealpath
of the original filename sothat changing the working directory does not affect it.
(#920)
(#925,
#930)
(#926,
#994)
"-"
.(#929)
__all__
list.(#935)
(#949,
#1009)
(#954)
(#962)
fcntl
import.(#965)
ImportError
.(#995)
(#996)
get_winter_size()
so it correctly returns(0,0)
.(#997)
(#1001)
(#1002)
(#1004)
(#1005)
fd
was undefined.(#1007)
(#1008)
auto_envvar_prefix
works with command groups.(#1011)
(#1013)
(#1047,
#1059)
(#1055)
the underscore replaced with a dash. If you register a function
named
my_command
it becomesmy-command
in the command lineinterface.
(#1058,
#1061)
project on Windows.
(#1068,
#1069)
auto_envvar_prefix
would not beconverted to uppercase.
(#1105)
The text was updated successfully, but these errors were encountered: