Skip to content

Investigate using the Node CLI node as an alternative to grunt maintenance as a CLI #460

Description

@samreid

From #459, we would like to try using the Node CLI node as an alternative to grunt maintenance as a CLI. Some notes:

The maintenance CLI is very awkward, you cannot use the arrow keys, and sometimes it shows incorrect text like in phetsims/scenery-phet#938 (comment) Should we just use the Node CLI, or is there way to fix it? Would also be good to be able to use up arrow/down arrow to cycle through commands.

Could be possible to use Node repl, with a snippet to populate Maintenance etc. by importing it. We temporarily reopened #192 but we think just using Node may be better...?

Note that our custom repl has custom await handling, we would need to something equivalent for the node CLI. So we would need a snippet that imports Maintenance and possibly a snippet that sets up auto/await callbacks or something.

@jonathanolson volunteered to investigate, but likely at the time of the next maintenance release.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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