This can support the function of autocomplete for magnum's commands Closes-Bug: #1614853 Change-Id: Icdc50fbefa5ec46e608567895b1f74c26c0f5992