drush generate-menusfor drush 8x


Create menus and menu items.

drush generate-menus

generate-menus is a Drush command from the devel project.

devel
  • Aliases


    generate-menus has 1 alias/es:


    drush genm

  • Arguments


    generate-menus accepts 4 argument/s:


    number_menus : Number of menus to generate. Defaults to 2.

    number_links : Number of links to generate. Defaults to 50.

    max_depth : Max link depth. Defaults to 3

    max_width : Max width of first level of links. Defaults to 8.

  • Options


    generate-menus accepts 2 option/s:


    --kill : Delete all previously generated menus and links before generating new menus and links.

    --pipe : Returns the list of generated menus, one per line.

  • Comments


    comments powered by Disqus