generates cf stub from cli