o
    ci
                     @   s  d dl Z d dlm  m  mZ e  dd Ze e jddede j	ddedd	e j	d
ddedd	e j	dddedd	e j	ddedd	e j	dde
dd	e j	ddedd	dd Ze e jddede j	ddedd	e j	d
ddedd	e j	dddedd	e j	ddedd	e j	dde
dd	e j	ddedd	dd Ze e jddede j	ddedd	d d! Zejed"d# ejed$d# ejed%d# ejed&d# ejed'd# d(d) Zed*kre  dS dS )+    Nc                   C   s   d S N r   r   r   H/home/ubuntu/.local/lib/python3.10/site-packages/ray/tune/cli/scripts.pycli   s   r   experiment_pathT)requiredtypez--sortzSelect which column to sort on.)defaultr   helpz--outputz-oz%Select file to output information to.z--filter	filter_opz:Select filter in the format '<column> <operator> <value>'.z	--columnszSelect columns to be displayed.z--limitz!Select number of rows to display.z--descFzSort ascending vs. descending.c              	   C   6   |r| d}|r| d}t| |||||| dS )zALists trials in the directory subtree starting at the given path.,N)splitcommandslist_trials)r   sortoutputr   columnslimitdescr   r   r   r      s
   

r   project_pathc              	   C   r   )z+Lists experiments in the directory subtree.r   N)r   r   list_experiments)r   r   r   r   r   r   r   r   r   r   r   ,   s   

r   pathz
--filenameznote.txtzSpecify filename for note.c                 C   s   t | | dS )z1Adds user notes as a text file at the given path.N)r   add_note)r   filenamer   r   r   r   O   s   r   ls)namezlist-trialslsxzlist-experimentszadd-notec                   C   s   t  S r   )r   r   r   r   r   main`   s   r   __main__)clickray.tune.cli.commandstuner   r   groupcommandargumentstroptionintboolr   r   r   add_commandr   __name__r   r   r   r   <module>   s    
	
