Backblaze / boardwalk

A linear remote execution workflow engine built on top of Ansible
Other
18 stars 1 forks source link

Enable tab completion of commands/workspace names #81

Closed asullivan-blze closed 2 months ago

asullivan-blze commented 2 months ago

What and why?

The click framework provides tab completion for more or less free, however it does need to be enabled. This PR adds the requirements to set up tab completion to the README.md, as well as adds completion support for Workspace names to the boardwalk workspace use command. Prior to this, knowing the full workspace name would be required, thus requiring the user to look in the Boardwalkfile, or run boardwalk workspace list beforehand.

Resolves internal ticket SVRENG-493.

How was this tested?

Performing tab completion tests against the test workspaces. Works as expected.

(boardwalk-py3.12) asullivan@MBP-NT9RPG2XV7 server-client % boardwalk workspace use Should
ShouldFailTestWorkspace     ShouldSucceedTestWorkspace

Checklist