add generate command