Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve play command's ability to locate bundle #14

Open
jcowman2 opened this issue Mar 13, 2019 · 0 comments
Open

Improve play command's ability to locate bundle #14

jcowman2 opened this issue Mar 13, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@jcowman2
Copy link
Contributor

jcowman2 commented Mar 13, 2019

Overview

The play command will have a better user experience if it has some tricks for finding a game bundle without the user having to type the whole thing out.

Description

Two improvements can be made to the play command:

  1. The .regal.js file extension can be omitted. If there exists some-game.regal.js in the config directory, the command regal play some-game should load it automatically.
  2. If no bundle path is specified when executing the play command and an output option is configured in regal.json (or equivalent), the CLI should attempt to play a bundle at that location. If it can't, an error should be thrown.
@jcowman2 jcowman2 added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant