Cucumber framework

In ruby to create a cucumber framework, I have used the code calabash-android gen.

How do i create the same in java ? what is the command for it.

I want to create a BDD for Appium.

This looks like a decent tutorial:

You should do a Google search for more.