mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-06 15:07:58 +00:00
Add a Commands []string field to api.Agent so clients can enumerate the slash commands defined on the root of each loaded config. Populated from cfg.Agents.First().Commands (already merged with any UseCommands references by config.Load), sorted alphabetically, and omitted from the JSON when empty for backward compatibility.