001/**
002 * Copyright 2024 The Space Cookies : Girl Scout Troop #62868 and FRC Team #1868
003 * Open Source Software; you may modify and/or share it under the terms of
004 * the 3-Clause BSD License found in the root directory of this project.
005 */
006
007package tagalong.commands;
008
009import edu.wpi.first.wpilibj2.command.Command;
010
011/**
012 * Tagalong extension of the WPILib Command class, adding utilities that allow for easier
013 * composition of library commands
014 */
015public class TagalongCommand extends Command {
016  /**
017   * Clears the requirement list for this command. Used to enable the composition of multiple
018   * Tagalong base commands
019   * @return The command with its requirements removed
020   */
021  public TagalongCommand anonymize() {
022    this.getRequirements().clear();
023    return this;
024  }
025}