Current File : //lib/python2.7/site-packages/cloudinit/cmd/status.pyc |
�
oB�]c @ s� d Z d d l Z d d l Z d d l Z d d l m Z m Z m Z d d l m Z d d l
m Z d d l m
Z
m Z m Z d Z d Z d Z d
Z d Z d Z d d
� Z d � Z d � Z d � Z d � Z e d k r� e � n d S( sF Define 'status' utility and handler as part of cloud-init commandline.i����N( t gmtimet strftimet sleep( t uses_systemd( t Init( t get_cmdlinet load_filet load_jsons /etc/cloud/cloud-init.disableds not runt runningt donet errort disabledc C si | s! t j d d d d � } n | j d d d d d t d
d �| j d d
d d d t d
d �| S( s% Build or extend an arg parser for status utility.
@param parser: Optional existing ArgumentParser instance representing the
status subcommand which will be extended to support the args of
this utility.
@returns: ArgumentParser with proper argument configuration.
t progt statust descriptions Report run status of cloud inits -ls --longt actiont
store_truet defaultt helpsJ Report long format of statuses including run stage name and error messagess -ws --waits'