
"""simple docstring"""





from argparse import ArgumentParser

from .env import EnvironmentCommand







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

   # Register commands
   EnvironmentCommand.register_subcommand(__lowerCamelCase  )

   # Let's go
   UpperCAmelCase_					:					Optional[Any]			     =    parser.parse_args()

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

   # Run
   UpperCAmelCase_					:					List[str]			     =    args.func(__lowerCamelCase  )
   service.run()


if __name__ == "__main__":
    main()




"""simple docstring"""





def 	__a     (		__lowerCamelCase,		__lowerCamelCase,		__lowerCamelCase  ):
   return round(float(moles / volume  ) * nfactor  )







def 	__a     (		__lowerCamelCase,		__lowerCamelCase,		__lowerCamelCase  ):
   return round(float((moles * 0.0821 * temperature) / (volume)  )  )







def 	__a     (		__lowerCamelCase,		__lowerCamelCase,		__lowerCamelCase  ):
   return round(float((moles * 0.0821 * temperature) / (pressure)  )  )







def 	__a     (		__lowerCamelCase,		__lowerCamelCase,		__lowerCamelCase  ):
   return round(float((pressure * volume) / (0.0821 * moles)  )  )


if __name__ == "__main__":
    import doctest

    doctest.testmod()


