You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--name`\|`-n`| Name to be passed to the generated files. `{{name}}` and other data parameters inside contents and file names will be replaced accordingly. You may omit the `--name` or `-n` for this specific option. |
17
-
|`--config`\|`-c`| Filename or https git URL to load config from instead of passing arguments to CLI or using a Node.js script. See examples for syntax. |
18
-
|`--github`\|`-gh`| GitHub path to load config from instead of passing arguments to CLI or using a Node.js script. See examples for syntax. |
19
-
|`--key`\|`-k`| Key to load inside the config file. This overwrites the config key provided after the colon in `--config` (e.g. `--config scaffold.cmd.js:component`) |
20
-
|`--output`\|`-o`| Path to output to. If `--create-sub-folder` is enabled, the subfolder will be created inside this path. Default is current working directory. |
21
-
|`--templates`\|`-t`| Template files to use as input. You may provide multiple files, each of which can be a relative or absolute path, or a glob pattern for multiple file matching easily. |
22
-
|`--overwrite`\|`-w`| Enable to override output files, even if they already exist. |
23
-
|`--data`\|`-d`| Add custom data to the templates. By default, only your app name is included. |
24
-
|`--append-data`\|`-D`| Append additional custom data to the templates, which will overwrite `--data`, using an alternate syntax, which is easier to use with CLI: `-D key1=string -D key2:=raw`|
25
-
|`--create-sub-folder`\|`-s`| Create subfolder with the input name |
26
-
|`--sub-folder-name-helper`\|`-sh`| Default helper to apply to subfolder name when using `--create-sub-folder true`. |
27
-
|`--quiet`\|`-q`| Suppress output logs (Same as `--log-level none`) |
28
-
|`--log-level`\|`-l`| Determine amount of logs to display. The values are: `none \| debug \| info \| warn \| error`. The provided level will display messages of the same level or higher. |
29
-
|`--dry-run`\|`-dr`| Don't emit files. This is good for testing your scaffolds and making sure they don't fail, without having to write actual file contents or create directories. |
|`--name`\|`-n`| Name to be passed to the generated files. `{{name}}` and other data parameters inside contents and file names will be replaced accordingly. You may omit the `--name` or `-n` for this specific option. |
17
+
|`--config`\|`-c`| Filename to load config from instead of passing arguments to CLI or using a Node.js script. See examples for syntax. This can also work in conjunction with `--git` or `--github` to point to remote files, and with `--key` to denote which key to select from the file., |
18
+
|`--git`\|`-g`| Git URL to load config from instead of passing arguments to CLI or using a Node.js script. See examples for syntax. |
19
+
|`--github`\|`-gh`| GitHub path to load config from instead of passing arguments to CLI or using a Node.js script. |
20
+
|`--key`\|`-k`| Key to load inside the config file. This overwrites the config key provided after the colon in `--config` (e.g. `--config scaffold.cmd.js:component`) |
21
+
|`--output`\|`-o`| Path to output to. If `--create-sub-folder` is enabled, the subfolder will be created inside this path. Default is current working directory. |
22
+
|`--templates`\|`-t`| Template files to use as input. You may provide multiple files, each of which can be a relative or absolute path, or a glob pattern for multiple file matching easily. |
23
+
|`--overwrite`\|`-w`| Enable to override output files, even if they already exist. |
24
+
|`--data`\|`-d`| Add custom data to the templates. By default, only your app name is included. |
25
+
|`--append-data`\|`-D`| Append additional custom data to the templates, which will overwrite `--data`, using an alternate syntax, which is easier to use with CLI: `-D key1=string -D key2:=raw`|
26
+
|`--create-sub-folder`\|`-s`| Create subfolder with the input name |
27
+
|`--sub-folder-name-helper`\|`-sh`| Default helper to apply to subfolder name when using `--create-sub-folder true`. |
28
+
|`--quiet`\|`-q`| Suppress output logs (Same as `--log-level none`) |
29
+
|`--log-level`\|`-l`| Determine amount of logs to display. The values are: `none \| debug \| info \| warn \| error`. The provided level will display messages of the same level or higher. |
30
+
|`--dry-run`\|`-dr`| Don't emit files. This is good for testing your scaffolds and making sure they don't fail, without having to write actual file contents or create directories. |
0 commit comments