code: public static <A, B, V> BaseCommand<A, B> withValue(@NotNull Command<A, B> cmd, Key<V> key, V value) {
          return new SetValueCommand<>(cmd, key, value);
      }
docs: Creates a task that will set the given key-value pair into the mode prior to
  executing {@code cmd}.