Example #1
0
 def Args(parser):
     flags.AddDataDirFlag(parser, datastore_util.DATASTORE)
     parser.add_argument(
         '--legacy',
         default=False,
         action='store_true',
         help='Set to use the legacy emulator which supports Cloud Datastore'
         ' API v1beta2.')
Example #2
0
 def Args(parser):
     flags.AddDataDirFlag(parser, datastore_util.DATASTORE)
     legacy_flag = '--legacy'
     parser.add_argument(
         legacy_flag,
         default=False,
         action=actions.DeprecationAction(
             legacy_flag,
             warn=(
                 'This flag is deprecated due to the legacy Datastore '
                 'emulator no longer being supported. It will be removed in '
                 'early October 2019.'),
             action='store_true'),
         help='Set to use the legacy emulator which supports Cloud Datastore'
         ' API v1beta2.')
Example #3
0
 def Args(parser):
     flags.AddDataDirFlag(parser, pubsub_util.PUBSUB)
Example #4
0
 def Args(parser):
     flags.AddDataDirFlag(parser, datastore_util.DATASTORE)