@Override public CliCommand init(final Arguments args) throws Exception { processCommandOptions(requiredArgs, optionalArgs, args); this.jobId = UUID.fromString(args.getId()); this.priority = args.getPriority(); return this; }
@Override public CliCommand init(final Arguments args) throws Exception { bucketName = args.getBucket(); if (bucketName == null) { throw new MissingOptionException("The delete bucket command requires '-b' to be set."); } force = args.isForce(); return this; }