← back to Atmos Game
assets/gen/.venv/lib/python3.12/site-packages/click/__pycache__/decorators.cpython-312.pyc
230 lines
�
c�bj�L � �h � d dl mZ d dlZd dlZd dlmZ d dlmZ ddl m
Z
ddl mZ ddl mZ dd l m
Z
dd
l mZ ddl mZ ddlmZ dd
lmZ ej( rd dlZ ej. d� Z ej2 d� Z ej2 d� Zej8 dej: f Z ej2 dd�� Zd/d�Z d0d�Z! d1 d2d�Z"dd� d3d�Z# ej2 de�� Z$ejJ d4d�� Z&ejJ d5d�� Z&ejJ d6 d7d�� Z&ejJ d8 d9d�� Z& d: d;d�Z& ej2 d e
�� Z'ejJ d<d!�� Z(ejJ d=d"�� Z(ejJ d6 d>d#�� Z(ejJ d8 d?d$�� Z( d: d@d%�Z(dAd&�Z)dd'� dBd(�Z*dd'� dCd)�Z+dDd*�Z,dDd+�Z- d6dddd,� dEd-�Z.dDd.�Z/y)F� )�annotationsN��update_wrapper)�gettext� ��Argument)�Command)�Context)�Group��Option)� Parameter��get_current_context)�echo�P�R�T.�FCz_AnyCallable | Command)�boundc �( � � d� fd�}t |� � S )z]Marks a callback as wanting to receive the current context
object as first argument.
c �, �� �t � g| ��i |��S �Nr ��args�kwargs�fs ��g/Users/macstudio3/Projects/atmos-game/assets/gen/.venv/lib/python3.12/site-packages/click/decorators.py�new_funczpass_context.<locals>.new_func! s �� ��$�&�8��8��8�8� �r zP.argsr zP.kwargs�returnr r �r r s ` r �pass_contextr% s �� �
9� �(�A�&�&r! c �( � � d� fd�}t |� � S )z�Similar to :func:`pass_context`, but only pass the object on the
context onwards (:attr:`Context.obj`). This is useful if that object
represents the state of a nested system.
c �@ �� �t � j g| ��i |��S r )r �objr s �r r zpass_obj.<locals>.new_func- s"