Skip to content

Async calls when sequential expected #6

Description

@kolatat

A lot of the methods uses async calls and jumps straight through so for example in:

else if(program.add){
    options.addCommand();
    options.run()
}

prompts for both new command name and run choice when user hasn't even specify a new command to add.

$ scriptr -a
Please input a title for your script: ----------------------------------
| (1.) echoPoop
| (2.) ayyLmaooo
----------------------------------
Select an entry:

at least on Windows

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