@classmethod<EOL><INDENT>def _check_arguments(cls, args):<DEDENT>
args.username = args.username if args.username else os.environ.get("<STR_LIT>", None)<EOL>args.password = args.password if args.password else os.environ.get("<STR_LIT>", None)<EOL>args.api = args.api if args.api else os.environ.get("<STR_LIT>", None)<EOL>args.version = args.version if args.version else os.environ.get("<STR_LIT>", None)<EOL>args.enterprise = args.enterprise if args.enterprise else os.environ.get("<STR_LIT>", None)<EOL>args.json = True if os.environ.get("<STR_LIT>") == "<STR_LIT:True>" else args.json<EOL>if args.username is None or len(args.username) == <NUM_LIT:0>:<EOL><INDENT>Printer.raise_error("<STR_LIT>")<EOL><DEDENT>if args.password is None or len(args.password) == <NUM_LIT:0>:<EOL><INDENT>Printer.raise_error("<STR_LIT>")<EOL><DEDENT>if args.api is None or len(args.api) == <NUM_LIT:0>:<EOL><INDENT>Printer.raise_error("<STR_LIT>")<EOL><DEDENT>if args.enterprise is None or len(args.enterprise) == <NUM_LIT:0>:<EOL><INDENT>Printer.raise_error("<STR_LIT>")<EOL><DEDENT>setattr(args, "<STR_LIT:name>", getattr(args, args.command, None))<EOL>del(args.command)<EOL>
Check arguments and environment variables