Click Documentation Release 4.2.dev0
It’s highly configurable but comes with sensible defaults out of the box. It aims to make the process of writing command line tools quick and fun while also preventing any frustration caused by the inability total of COUNT times.""" for x in range(count): click.echo('Hello %s!' % name) if __name__ == '__main__': hello() And what it looks like when run: $ python hello.py --count=3 Your name: John Hello John that the decorator converts the function into a Command which then can be invoked: if __name__ == '__main__': hello() And what it looks like: $ python hello.py Hello World! And the corresponding help page:0 码力 | 101 页 | 407.32 KB | 1 年前3PlantUML 1.2019.6 Guide de référence du langage
référence du langage PlantUML (1.2019.6) 26 / 173 2.5 Héritage 2 DIAGRAMME DE CAS D'UTILISATION :Main Admin: ---> (Use the application) : This is\nyet another\nlabel @enduml 2.5 Héritage Si un acteur acteur ou un cas d'utilisation en étend un autre, vous pouvez utiliser le symbole <|--. @startuml :Main Admin: as Admin (Use the application) as (Use) User <|-- Admin (Start) <|-- (Use) @enduml 2.6 Notes définie seule avec des mots-clés, puis liée à d'autres objets en utilisant le symbole .. . @startuml :Main Admin: as Admin Guide de référence du langage PlantUML (1.2019.6) 27 / 173 2.7 Stéréotypes 2 DIAGRAMME0 码力 | 174 页 | 1.91 MB | 1 年前3PlantUML 1.2019.9 Guide de référence du langage
référence du langage PlantUML (1.2019.9) 26 / 173 2.5 Héritage 2 DIAGRAMME DE CAS D'UTILISATION :Main Admin: ---> (Use the application) : This is\nyet another\nlabel @enduml 2.5 Héritage Si un acteur acteur ou un cas d'utilisation en étend un autre, vous pouvez utiliser le symbole <|--. @startuml :Main Admin: as Admin (Use the application) as (Use) User <|-- Admin (Start) <|-- (Use) @enduml 2.6 Notes définie seule avec des mots-clés, puis liée à d'autres objets en utilisant le symbole .. . @startuml :Main Admin: as Admin Guide de référence du langage PlantUML (1.2019.9) 27 / 173 2.7 Stéréotypes 2 DIAGRAMME0 码力 | 174 页 | 1.93 MB | 1 年前3PlantUML 1.2019.4 Guide de référence du langage
référence du langage PlantUML (1.2019.4) 26 / 167 2.5 Héritage 2 DIAGRAMME DE CAS D'UTILISATION :Main Admin: ---> (Use the application) : This is\nyet another\nlabel @enduml 2.5 Héritage Si un acteur acteur ou un cas d'utilisation en étend un autre, vous pouvez utiliser le symbole <|--. @startuml :Main Admin: as Admin (Use the application) as (Use) User <|-- Admin (Start) <|-- (Use) @enduml 2.6 Notes définie seule avec des mots-clés, puis liée à d'autres objets en utilisant le symbole .. . @startuml :Main Admin: as Admin Guide de référence du langage PlantUML (1.2019.4) 27 / 167 2.7 Stéréotypes 2 DIAGRAMME0 码力 | 168 页 | 1.83 MB | 1 年前3PlantUML 1.2019.1 Guide de référence du langage
reconnu comme acteur. @startuml User -> (Start) User --> (Use the application) : A small label :Main Admin: ---> (Use the application) : This is\nyet another\nlabel @enduml Guide de référence du langage acteur ou un cas d'utilisation en étend un autre, vous pouvez utiliser le symbole <|--. @startuml :Main Admin: as Admin (Use the application) as (Use) User <|-- Admin (Start) <|-- (Use) @enduml 2.6 Notes définie seule avec des mots-clés, puis liée à d'autres objets en utilisant le symbole .. . @startuml :Main Admin: as Admin (Use the application) as (Use) User -> (Start) User --> (Use) Admin ---> (Use)0 码力 | 147 页 | 1.85 MB | 1 年前3PlantUML 1.2019.3 Guide de référence du langage
référence du langage PlantUML (1.2019.3) 26 / 159 2.5 Héritage 2 DIAGRAMME DE CAS D'UTILISATION :Main Admin: ---> (Use the application) : This is\nyet another\nlabel @enduml 2.5 Héritage Si un acteur acteur ou un cas d'utilisation en étend un autre, vous pouvez utiliser le symbole <|--. @startuml :Main Admin: as Admin (Use the application) as (Use) User <|-- Admin (Start) <|-- (Use) @enduml 2.6 Notes définie seule avec des mots-clés, puis liée à d'autres objets en utilisant le symbole .. . @startuml :Main Admin: as Admin Guide de référence du langage PlantUML (1.2019.3) 27 / 159 2.7 Stéréotypes 2 DIAGRAMME0 码力 | 160 页 | 1.72 MB | 1 年前3PlantUML 1.2019.2 Guide de référence du langage
référence du langage PlantUML (1.2019.2) 26 / 159 2.5 Héritage 2 DIAGRAMME DE CAS D'UTILISATION :Main Admin: ---> (Use the application) : This is\nyet another\nlabel @enduml 2.5 Héritage Si un acteur acteur ou un cas d'utilisation en étend un autre, vous pouvez utiliser le symbole <|--. @startuml :Main Admin: as Admin (Use the application) as (Use) User <|-- Admin (Start) <|-- (Use) @enduml 2.6 Notes définie seule avec des mots-clés, puis liée à d'autres objets en utilisant le symbole .. . @startuml :Main Admin: as Admin Guide de référence du langage PlantUML (1.2019.2) 27 / 159 2.7 Stéréotypes 2 DIAGRAMME0 码力 | 160 页 | 1.72 MB | 1 年前3PlantUML 1.2020.22 Guide de référence du langage
:User: --> (Use) "Main Admin" as Admin "Use the application" as (Use) Admin --> (Admin the application) @enduml 2.3.2 Awesome man @startuml skinparam actorStyle awesome :User: --> (Use) "Main Admin" as Admin D'UTILISATION [Ref. QA-10493] 2.3.3 Hollow man @startuml skinparam actorStyle Hollow :User: --> (Use) "Main Admin" as Admin "Use the application" as (Use) Admin --> (Admin the application) @enduml [Ref. PR#396] reconnu comme acteur. @startuml User -> (Start) User --> (Use the application) : A small label :Main Admin: ---> (Use the application) : This is\nyet another\nlabel @enduml Guide de référence du langage0 码力 | 295 页 | 3.03 MB | 1 年前3PlantUML 1.2020.23 Guide de référence du langage
:User: --> (Use) "Main Admin" as Admin "Use the application" as (Use) Admin --> (Admin the application) @enduml 2.3.2 Awesome man @startuml skinparam actorStyle awesome :User: --> (Use) "Main Admin" as Admin D'UTILISATION [Ref. QA-10493] 2.3.3 Hollow man @startuml skinparam actorStyle Hollow :User: --> (Use) "Main Admin" as Admin "Use the application" as (Use) Admin --> (Admin the application) @enduml [Ref. PR#396] reconnu comme acteur. @startuml User -> (Start) User --> (Use the application) : A small label :Main Admin: ---> (Use the application) : This is\nyet another\nlabel @enduml Guide de référence du langage0 码力 | 308 页 | 3.12 MB | 1 年前3PlantUML 1.2021.1 Guide de référence du langage
:User: --> (Use) "Main Admin" as Admin "Use the application" as (Use) Admin --> (Admin the application) @enduml 2.3.2 Awesome man @startuml skinparam actorStyle awesome :User: --> (Use) "Main Admin" as Admin @enduml [Ref. QA-10493] 2.3.3 Hollow man @startuml skinparam actorStyle Hollow :User: --> (Use) "Main Admin" as Admin "Use the application" as (Use) Admin --> (Admin the application) @enduml Guide de reconnu comme acteur. @startuml User -> (Start) User --> (Use the application) : A small label :Main Admin: ---> (Use the application) : This is\nyet another\nlabel @enduml 2.7 Héritage Si un acteur0 码力 | 385 页 | 4.05 MB | 1 年前3
共 20 条
- 1
- 2