
                             S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  \R                   " S S	\R                  5      5       rg
)z,The gcloud app migrate gen1-to-gen2 command.    )absolute_import)division)unicode_literals)appengine_api_client)base)migration_utilc                   .    \ rS rSrSr\S 5       rS rSrg)
Gen1ToGen2   z^Migrate the first-generation App Engine code to be compatible with second-generation runtimes.c                 F    U R                  SSS9  U R                  SSSS9  g )Nz	--appyamlzEYAML file for the first-generation App Engine version to be migrated.)helpz--output-dirTz[The directory where the migrated code for the second-generation application will be stored.)requiredr   )add_argument)parsers    'lib/surface/app/migrate/gen1_to_gen2.pyArgsGen1ToGen2.Args   s=    
   +	      c                     [         R                  " U R                  5       5      n[        R                  " X!5      R                  5         g )N)r   GetApiClientForTrackReleaseTrackr   Gen1toGen2MigrationStartMigration)selfargs
api_clients      r   RunGen1ToGen2.Run1   s2    %::4;L;L;NOJ&&z8GGIr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r   __static_attributes__r   r   r   r
   r
      s    f "Jr   r
   N)r$   
__future__r   r   r   googlecloudsdk.api_lib.appr   googlecloudsdk.callioper   googlecloudsdk.command_lib.appr   DefaultUniverseOnlyCommandr
   r   r   r   <module>r-      sD     3 &  ' ; ( 9 J J Jr   