-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass the name of an example to bypass the selector screen
For example: ``` just run jessica ``` will launch directly into 'Jessica Can't Swim'. Passing a blank (whitespace or empty) argument will launch the example selector as before.
- Loading branch information
1 parent
b948e3f
commit 65d761b
Showing
3 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
import «Examples».Selector | ||
|
||
def main : IO Unit := Selector.selector | ||
def main (args : List String) : IO Unit := do | ||
match args with | ||
| (demoName :: _) => Selector.tryLaunchDemo demoName | ||
| _ => Selector.selector |