code: public static BooleanCliParam fromDef(BooleanParamDef def) {
          return new BooleanCliParam(def.getIdentifier(), def.getDefaultValueSupplier(), def.isNullable());
      }
docs: Construct a CLI boolean parameter from a {@link BooleanParamDef}.
  
  @param def BooleanParamDef to construct a CLI boolean parameter from.
  @return A CLI boolean parameter constructed from the BooleanParamDef.