




from argparse import ArgumentParser

from .env import EnvironmentCommand



def       UpperCAmelCase__  (     ):
  lowercase    :int      	=						ArgumentParser("Diffusers CLI tool",			usage="diffusers-cli <command> [<args>]"   )
  lowercase    :str      	=						parser.add_subparsers(help="diffusers-cli command helpers"   )

  # Register commands
  EnvironmentCommand.register_subcommand(lowerCamelCase   )

  # Let's go
  lowercase    :Any      	=						parser.parse_args()

  if not hasattr(lowerCamelCase,			"func"   ):
    parser.print_help()
    exit(1   )

  # Run
  lowercase    :Dict      	=						args.func(lowerCamelCase   )
  service.run()


if __name__ == "__main__":
     main()









def       UpperCAmelCase__  (     lowerCamelCase,			lowerCamelCase   ):
  return int((input_a, input_a).count(0   ) != 0   )



def       UpperCAmelCase__  (     ):
  assert nand_gate(0,			0   ) == 1
  assert nand_gate(0,			1   ) == 1
  assert nand_gate(1,			0   ) == 1
  assert nand_gate(1,			1   ) == 0


if __name__ == "__main__":
     print(nand_gate(0, 0))
     print(nand_gate(0, 1))
     print(nand_gate(1, 0))
     print(nand_gate(1, 1))



