Click Documentation Release 4.2.dev0
Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 1.8 User Input Prompts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 comes with useful common helpers (getting terminal dimensions, ANSI colors, fetching direct keyboard input, screen clearing, finding config paths, launching apps and editors, etc.) There are many alternatives that it can generate unified help pages for the full CLI and to assist the user in converting the input data as necessary. • Click has a strong understanding of what types are and can give the user consistent0 码力 | 101 页 | 407.32 KB | 1 年前3Flask-RESTful Documentation Release 0.3.10
cannot be converted to int'} The inputs module provides a number of included common conversion functions such as inputs.date() and inputs.url(). Calling parse_args with strict=True ensures that an error removal and will be replaced by documentation on how to integrate with other packages that do the input/output stuff better (such as marshmallow [https://marshmallow.readthedocs.io]). This means that it make_response(json.dumps(data), code) resp.headers.extend(headers or {}) return resp These representation functions must return a Flask Response [https://flask.palletsprojects.com/en/2.3.x/api/#flask.Response] object0 码力 | 42 页 | 84.60 KB | 1 年前3PlantUML 1.2021.1 Guide de référence du langage
parfois avoir à répéter la même activité dans le diagramme de texte. @startuml (*) --> "check input" If "input is verbose" then --> [Yes] "turn on verbosity" --> "run command" else --> "run command" Endif split again :C; split again :a; :b; end split :D; end @enduml 6.9.2 Input split (multi-start) You can use hidden arrows to make an input split (multi-start): @startuml split -[hidden]-> :A; split again URL, so you don’t need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have0 码力 | 385 页 | 4.05 MB | 1 年前3PlantUML 1.2021.2 Guide de référence du langage
parfois avoir à répéter la même activité dans le diagramme de texte. @startuml (*) --> "check input" If "input is verbose" then --> [Yes] "turn on verbosity" --> "run command" else --> "run command" Endif split again :C; split again :a; :b; end split :D; end @enduml 6.9.2 Input split (multi-start) You can use hidden arrows to make an input split (multi-start): @startuml split -[hidden]-> :A; split again URL, so you don’t need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have0 码力 | 391 页 | 4.10 MB | 1 年前3PlantUML 1.2021.3 Guide de référence du langage
parfois avoir à répéter la même activité dans le diagramme de texte. @startuml (*) --> "check input" If "input is verbose" then --> [Yes] "turn on verbosity" --> "run command" else --> "run command" Endif split again :C; split again :a; :b; end split :D; end @enduml 6.9.2 Input split (multi-start) You can use hidden arrows to make an input split (multi-start): @startuml split -[hidden]-> :A; split again URL, so you don’t need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have0 码力 | 406 页 | 4.24 MB | 1 年前3PlantUML 1.2023.11 Guide de référence du langage
parfois avoir à répéter la même activité dans le diagramme de texte. @startuml (*) --> "check input" If "input is verbose" then --> [Yes] "turn on verbosity" --> "run command" else --> "run command" Endif Regroupement ou partition 6 DIAGRAMME D’ACTIVITÉ (NOUVELLE SYNTAXE) @startuml start partition #lightGreen "Input Interface" { :read config file; :init internal variable; } partition Running { :wait for user interaction; blue { LineColor blue LineThickness 5 } } clock clk with period 1 binary "Input Signal 1" as IS1 binary "Input Signal 2" as IS2 <> binary "Output Signal 1" as OS1 < > @0 IS1 is low 0 码力 | 534 页 | 7.56 MB | 1 年前3PlantUML 1.2019.9 Guide de référence du langage
2019.9) 55 / 173 4.5 Encore des branches 4 DIAGRAMMES D'ACTIVITÉ @startuml (*) --> "check input" If "input is verbose" then --> [Yes] "turn on verbosity" --> "run command" else --> "run command" Endif URL, so you don't need !includeurl • 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 Function names must start with a $ • Argument names must start with a $ • Void functions can call other void functions Example: @startuml !function msg($source, $destination) $source --> $destination0 码力 | 174 页 | 1.93 MB | 1 年前3PlantUML 1.2019.6 Guide de référence du langage
2019.6) 55 / 173 4.5 Encore des branches 4 DIAGRAMMES D'ACTIVITÉ @startuml (*) --> "check input" If "input is verbose" then --> [Yes] "turn on verbosity" --> "run command" else --> "run command" Endif URL, so you don't need !includeurl • 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 created outside function are global, that is you can access to them from everywhere (including from functions). You can emphasize this by using the optional global keyword when defining a variable. @startuml0 码力 | 174 页 | 1.91 MB | 1 年前3PlantUML 1.2020.22 Guide de référence du langage
2020.22) 63 / 294 4.5 Encore des branches 4 DIAGRAMMES D'ACTIVITÉ @startuml (*) --> "check input" If "input is verbose" then --> [Yes] "turn on verbosity" --> "run command" else --> "run command" Endif URL, so you don't need !includeurl • 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 Boolean builtin functions [%false(), %true(), %not()] For convenience, you can use those boolean builtin functions: • %false() • %true() • %not( ) [See also Builtin functions] 20.4 Conditions 0 码力 | 295 页 | 3.03 MB | 1 年前3PlantUML 1.2020.23 Guide de référence du langage
2020.23) 75 / 307 4.5 Encore des branches 4 DIAGRAMMES D'ACTIVITÉ @startuml (*) --> "check input" If "input is verbose" then --> [Yes] "turn on verbosity" --> "run command" else --> "run command" Endif URL, so you don't need !includeurl • 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 Boolean builtin functions [%false(), %true(), %not()] For convenience, you can use those boolean builtin functions: • %false() • %true() • %not( ) [See also Builtin functions] 20.4 Conditions 0 码力 | 308 页 | 3.12 MB | 1 年前3
共 19 条
- 1
- 2