[cli] Added backward compatibility to call plugins through CLI