There are four supported cfx commands:
cfx init Create a skeleton add-on as a starting point for your own add-on.
cfx run Launch an instance of Firefox with your add-on installed.
cfx test Runs your add-on's unit tests.
cfx xpi Package your add-on as an XPI fille, which is the install file format for Firefox add-ons.