Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/awscli/__pycache__/ |
Upload File : |
o �s�a� � @ s� d dl Z d dlZd dlmZ d dlmZ dZdZde ZG dd� de j �Z G d d � d e j�ZG dd� de�Z G d d� de�ZG dd� de�ZdS )� N)�six)�get_close_matchesa Note: AWS CLI version 2, the latest major version of the AWS CLI, is now stable and recommended for general use. For more information, see the AWS CLI version 2 installation instructions at: https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.htmlzbTo see help text, you can run: aws help aws <command> help aws <command> <subcommand> help zQ %s usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters] c sD e Zd ZdZ� fdd�Zd dd�Zedd� �Zejd d� �Z� Z S )� CommandActionz�Custom action for CLI command arguments Allows the choices for the argument to be mutable. The choices are dynamically retrieved from the keys of the referenced command table c s* || _ tt| �j||fd| ji|�� d S )N�choices)� command_table�superr �__init__r )�self�option_strings�destr �kwargs�� __class__� �2/usr/lib/python3/dist-packages/awscli/argparser.pyr 1 s �� �zCommandAction.__init__Nc C s t || j|� d S �N)�setattrr )r �parser� namespace�values� option_stringr r r �__call__7 s zCommandAction.__call__c C s t | j�� �S r )�listr �keys)r r r r r : s zCommandAction.choicesc C s d S r r )r �valr r r r >