-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds CLI commands, including a `help` command capable of displaying help messages for individual commands. This will make it easier for people to directly install `moon-cli` and work with it without having to reference the documentation for the previous simple but obscure behavior. There are now three commands, `moon version`, `moon help`, and `moon create`. They all have error messages and help messages to guide users through the process of using them. `moon create` now accepts the template as an option rather than a positional argument, using the `-t` or `--template` option instead.
- Loading branch information
Showing
9 changed files
with
329 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
name: "Moon Browser", | ||
exportName: "MoonBrowser", | ||
nameExport: "MoonBrowser", | ||
type: "script" | ||
}; |
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,5 +1,5 @@ | ||
module.exports = { | ||
name: "Moon CLI", | ||
exportName: "MoonCLI", | ||
nameExport: "MoonCLI", | ||
type: "executable" | ||
}; |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.