def main():
    parser = ArgumentParser(description='Cohort table utility')
    subparsers = parser.add_subparsers(help='commands')
    staging_parser = subparsers.add_parser('staging', help='Staging deployment')
    staging_parser.add_argument('cmd', choices=['delete', 'create'])
    staging_parser.set_defaults(func=staging_table)
    prod_parser = subparsers.add_parser('prod', help='Production deployment')
    prod_parser.add_argument('cmd', choices=['delete', 'create'])
    prod_parser.set_defaults(func=prod_table)
    dev_parser = subparsers.add_parser('dev', help='Local development deployment')
    dev_parser.add_argument('cmd', choices=['delete', 'create'])
    dev_parser.add_argument('table', type=str, help='Table name for local developer')
    dev_parser.set_defaults(func=dev_table)
    args = parser.parse_args()
    args.func(args)
def main():
    parser = ArgumentParser(description='Cohort table utility')
    subparsers = parser.add_subparsers(help='commands')
    staging_parser = subparsers.add_parser('staging', help='Staging deployment')
    staging_parser.add_argument('cmd', choices=['delete', 'create'])
    staging_parser.set_defaults(func=staging_table)
    prod_parser = subparsers.add_parser('prod', help='Production deployment')
    prod_parser.add_argument('cmd', choices=['delete', 'create'])
    prod_parser.set_defaults(func=prod_table)
    dev_parser = subparsers.add_parser('dev', help='Local development deployment')
    dev_parser.add_argument('cmd', choices=['delete', 'create'])
    dev_parser.add_argument('table', type=str, help='Table name for local developer')
    dev_parser.set_defaults(func=dev_table)
    args = parser.parse_args()
    args.func(args)