Click Documentation Release 4.2.dev0
bdist_wheel upload command chain which invokes dist before bdist_wheel before upload. Starting with Click 3.0 this is very simple to implement. All you have to do is to pass chain=True to your multicommand: multicommand: @click.group(chain=True) def cli(): pass @cli.command('sdist') def sdist(): click.echo('sdist called') @cli.command('bdist_wheel') def bdist_wheel(): click.echo('bdist_wheel called') Now you can functions and then invoke them. To make this a bit more concrete consider this example: @click.group(chain=True, invoke_without_command=True) @click.option('-i', '--input', type=click.File('r')) def cli(input):0 码力 | 101 页 | 407.32 KB | 1 年前3firebird gsplit
the prompt, the second file will be named stdout and not norman_2.fbk. If, on the other hand, you supply the filename norman_2.fbk then that file will be written to. Unfortunately you cannot specify how0 码力 | 10 页 | 103.73 KB | 1 年前3Référence Debian v2.124
compresser « toto » pour créer « toto.xz » en utilisant l’ algorithme de compression de Lempel-Ziv-Markov chain (meilleure compression que bzip2) unxz toto.xz décompresser « toto.xz » afin de créer « toto ». Dans les « Notes de diffusion » précédentes, GCC, Linux Kernel, initrd-tools, Glibc, Perl, APT tool chain, etc. ont demandé une attention particulière pour une mise à niveau de l’ensemble du système. Pour la sortie standard des programmes,les menus et les pages de manuel. La GNU gettext(1) command tool chain est utilisé comme outil de base pour la plupart des activités de traduction. Dans « Tâches » → «0 码力 | 279 页 | 1.47 MB | 1 年前3
共 3 条
- 1