args = parser.parse_args()
if not any(vars(args).values()):
    parser.error('No arguments provided.')
print(args)
if __name__ == '__main__':
    main()
argparse: some mutually exclusive arguments in required group