mirror of
https://github.com/aljazceru/Tutorial-Codebase-Knowledge.git
synced 2025-12-23 01:14:21 +01:00
update nav
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
---
|
||||
layout: default
|
||||
title: "Decorators"
|
||||
parent: "Click"
|
||||
nav_order: 2
|
||||
---
|
||||
|
||||
# Chapter 2: Decorators: Magic Wands for Your Functions
|
||||
|
||||
In [Chapter 1: Commands and Groups](01_command___group.md), we learned how to create basic command-line actions (`Command`) and group them together (`Group`). You might have noticed those strange `@click.command()` and `@click.group()` lines above our functions. What are they, and why do we use them?
|
||||
|
||||
Reference in New Issue
Block a user