This repository has been archived by the owner on Jul 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
40 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# `new` | ||
|
||
The `espm new` command can be used to create and scaffold a new package. It will prompt you for a | ||
package name, description, and other metadata, and will create a package with the necessary files, | ||
like [`esp.toml`](../esp-toml.md). | ||
|
||
```shell | ||
espm new | ||
espm new --name namespace/package --yes | ||
``` | ||
|
||
> Prompt values can be autopopulated by passing options on the command line. | ||
## Options | ||
|
||
- `--to` - Destination to create the package in, relative from the current working directory. | ||
Defaults to ".". | ||
- `--name`, `-n` - Name of package. | ||
- `--description`, `-d` - Description of package. | ||
- `--keyword`, `-k` - List of keywords about the package. Can be provided multiple times. | ||
- `--yes` - Skip all interactive prompts and use default or provided values. |
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