Skip to content

feature: grid actions #1

@jonschlinkert

Description

@jonschlinkert

I'm considering adding left/right support using the grid logic for actions in prompt-grid.

Here is what I think it would entail:

  • if options.grid is not undefined, enable grid support. the option might be set on prompt-base options or prompt-choices, I'm not sure yet. Depending on which, it could either be a boolean or an object of arrays (for actually defining the grid choices)
  • add left, right, moveLeft and moveRight actions

@doowb thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions