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/boto/services/__pycache__/ |
Upload File : |
o ckF[� � @ s� d dl mZ d dlmZ d dlmZ d dlmZ d dlZd dl Z d dl Z d dlmZ G dd� de �Zed kr?e� Ze�� dS dS ) � )�OptionParser)� ServiceDef)� Submitter)�ResultProcessorN)�StringIOc @ sj e Zd ZdZddddddd�Zd d � Zdd� Zd d� Zdd� Zdd� Z dd� Z dd� Zdd� Zdd� Z dS )�BSz*usage: %prog [options] config_file commandz#Clear input queue and output bucketz!Submit local files to the servicezStart the servicez6Report on the status of the service buckets and queuesz$Retrieve output generated by a batchz0List all batches stored in current output_domain)�reset�submit�start�status�retrieve�batchesc C s d | _ t| jd�| _| jjddddd� | jjddd d dd� | jjd dd d dd� | jjddd d ddd� | jjddd d ddd� | jjdddddd� | jjdd� | jjdd d d d!d"d� | jjd#d$� | jjd%d&d'd d(d)d� | jjd*d+d d d,d-d� d S ).N)�usagez--help-commands� store_true� help_commandsz'provides help on the available commands)�action�dest�helpz-az--access-key�store�stringzyour AWS Access Key)r �typer z-sz--secret-keyzyour AWS Secret Access Keyz-pz--path�pathz3the path to local directory for submit and retrieve)r r r r z-kz --keypair�keypairz.the SSH keypair used with launched instance(s)z-lz--leave�leavez>leave the files (don't retrieve) files during retrieve commandF)r z-nz--num-instances� num_instancesz"the number of launched instance(s)� )r z-iz --ignore-dirs�append�ignorez4directories that should be ignored by submit commandz-bz --batch-id�batchz1batch identifier required by the retrieve command)�service_namer �Usage�parser� add_option�set_defaults)�self� r% �2/usr/lib/python3/dist-packages/boto/services/bs.py�__init__) s>