Click Documentation
Release 4.2.dev0New in version 2.0. Starting with Click 2.0 you can override defaults for contexts not just when calling your script, but also in the decorator that declares a command. For instance given the previous example this message and exit. Arguments cannot be documented this way. This is to follow the general convention of Unix tools of using arguments for only the most necessary things and to document them in the Concepts To understand how this works, you need to understand two concepts: contexts and the calling convention. Contexts Whenever a Click command is executed, a Context object is created which holds state0 码力 | 101 页 | 407.32 KB | 1 年前3
PlantUML 1.2021.3 Guide de référence du langageis a note :foo2; note right This note is on several //lines// and can contain HTML ==== * Calling the method ""foo()"" is prohibited end note stop Guide de référence du langage PlantUML (1.2021 ray: "a drop of golden sun" pi: 3.14159 xmas: true french-hens: 3 calling-birds: - huey - dewey - louie - fred xmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location: ray: "a drop of golden sun" pi: 3.14159 xmas: true french-hens: 3 calling-birds: - huey - dewey - louie - fred xmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location:0 码力 | 406 页 | 4.24 MB | 1 年前3
PlantUML 1.2020.22 Guide de référence du langageis a note :foo2; note right This note is on several //lines// and can contain HTML ==== * Calling the method ""foo()"" is prohibited end note stop @enduml Vous pouvez ajouter une note sur un chemin Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. You have to use my_own_definelong() Boolean represention [0 is false] There is not real boolean type, but PlantUML use this integer convention: • Integer 0 means false • and any non-null number (as 1) or any string (as "1", or even "0")0 码力 | 295 页 | 3.03 MB | 1 年前3
PlantUML 1.2020.23 Guide de référence du langageis a note :foo2; note right This note is on several //lines// and can contain HTML ==== * Calling the method ""foo()"" is prohibited end note stop @enduml Vous pouvez ajouter une note sur un chemin Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. You have to use my_own_definelong() Boolean represention [0 is false] There is not real boolean type, but PlantUML use this integer convention: • Integer 0 means false • and any non-null number (as 1) or any string (as "1", or even "0")0 码力 | 308 页 | 3.12 MB | 1 年前3
PlantUML 1.2021.2 Guide de référence du langageis a note :foo2; note right This note is on several //lines// and can contain HTML ==== * Calling the method ""foo()"" is prohibited end note stop Guide de référence du langage PlantUML (1.2021 ray: "a drop of golden sun" pi: 3.14159 xmas: true french-hens: 3 calling-birds: - huey - dewey - louie - fred xmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location: Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. You have to use my_own_definelong()0 码力 | 391 页 | 4.10 MB | 1 年前3
PlantUML 1.2023.11 Guide de référence du langageis a note :foo2; note right This note is on several //lines// and can contain HTML ==== * Calling the method ""foo()"" is prohibited end note stop Guide de référence du langage PlantUML (1.2023 ray: "a drop of golden sun" pi: 3.14159 xmas: true french-hens: 3 calling-birds: - huey - dewey - louie - fred xmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location: ray: "a drop of golden sun" pi: 3.14159 xmas: true french-hens: 3 calling-birds: - huey - dewey - louie - fred xmas-fifth-day: calling-birds: four french-hens: 3 golden-rings: 5 partridges: count: 1 location:0 码力 | 534 页 | 7.56 MB | 1 年前3
PlantUML 1.2021.1 Guide de référence du langageis a note :foo2; note right This note is on several //lines// and can contain HTML ==== * Calling the method ""foo()"" is prohibited end note stop @enduml Vous pouvez ajouter une note sur un chemin Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. You have to use my_own_definelong() Boolean represention [0 is false] There is not real boolean type, but PlantUML use this integer convention: • Integer 0 means false • and any non-null number (as 1) or any string (as "1", or even "0")0 码力 | 385 页 | 4.05 MB | 1 年前3
PlantUML 1.2019.6 Guide de référence du langageis a note :foo2; note right This note is on several //lines// and can contain HTML ==== * Calling the method ""foo()"" is prohibited end note stop @enduml Guide de référence du langage PlantUML Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. That is you have to useful for debug purpose. @startuml !function bold($text) !$result = ""+ $text +"" !log Calling bold function with $text. The result is $result !return $result !endfunction Alice -> Bob : This0 码力 | 174 页 | 1.91 MB | 1 年前3
PlantUML 1.2019.9 Guide de référence du langageis a note :foo2; note right This note is on several //lines// and can contain HTML ==== * Calling the method ""foo()"" is prohibited end note stop @enduml Guide de référence du langage PlantUML Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have to use parenthesis. You have to use my_own_definelong() useful for debug purpose. @startuml !function bold($text) !$result = ""+ $text +"" !log Calling bold function with $text. The result is $result !return $result !endfunction Alice -> Bob : This0 码力 | 174 页 | 1.93 MB | 1 年前3
PlantUML 1.2019.1 Guide de référence du langageis a note :foo2; note right This note is on several //lines// and can contain HTML ==== * Calling the method ""foo()"" is prohibited end note stop @enduml 5.8 Couleurs Vous pouvez spécifier une Standard Library is now included in official re- leases of PlantUML. Including files follows the C convention for "C standard library" (see https://en.wikipedia.org/wiki/C_standard_library ) Contents of the0 码力 | 147 页 | 1.85 MB | 1 年前3
共 16 条
- 1
- 2













