Battle Master fighters can choose the Commander's Strike maneuver option (PHB, p. 74):
When you take the Attack action on your turn, you can forgo one of your attacks and use a bonus action to direct one of your companions to strike. When you do so, choose a friendly creature who can see or hear you and expend one superiority die. That creature can immediately use its reaction to make one weapon attack, adding the superiority die to the attack’s damage roll.
Fighters choose a Martial Archetype at 3rd level, when they generally have only one attack. If that attack is used for the Commander's Strike maneuver, would it be an attack at all?
From the attack description (PHB, p. 192):
The most common action to take in combat is the Attack action, whether you are swinging a sword, firing an arrow from a bow, or brawling with your fists.
With this action, you make one melee or ranged attack.
But in this case, the fighter will not, say, swing their sword - so it doesn't fit with the description.
If a Battle Master fighter has only one attack, can they forgo that attack to use the Commander's Strike maneuver?