Creates a modlist from packwiz
shell
cargo install packwiz-modlist
if you run packwizml
without any arguments, it will print the output with the default format,
you can redirect the output using the -o
flag or using > filename
```sh
packwizml --help # short: -h
packwizml --about
packwizml --path ./ # short: -p
packwizml --output modlist.md # short: -o
packwizml --mods ./mods # short: -m
packwizml --force # short: -F
packwizml --json
packwizml --log-level=Off # short: -v
packwizml --color-mode=Auto # short: -c
- [{NAME}]({URL}) - {DESCRIPTION}\n
packwizml --format "- {NAME} - {DESCRIPTION}\n" # short: -f
packwizml --sort-by Name # short: -s
packwizml --reverse # short: -r
packwizml --cache .packwizml.cache ```
| Placeholder | Description |
|:-----------------------------|:---------------------------------|
| {INDEX}
| Gets project index in the list |
| {NAME}
, {TITLE}
| Gets project name/title |
| {DESCRIPTION}
, {SUMMARY}
| Gets project description/summary |
| {URL}
| Gets project URL |
| {SLUG}
| Gets project slug |
| {ID}
| Gets project id |
| Type | Description |
|:-----------------------------|:---------------------------------|
| Name
, Title
| Sorts by project name |
| Slug
| Sorts by project slug |
| Id
| Sorts by project id |
| None
| Undetermined |
Create a file named .cf_token
in the root of the project, and paste your token there,
or set CF_API_KEY
environment variable