Crates.io | packwiz-modlist |
lib.rs | packwiz-modlist |
version | 1.5.3 |
source | src |
created_at | 2022-04-10 14:43:59.649794 |
updated_at | 2022-07-09 01:25:13.585289 |
description | Creates a modlist from packwiz |
homepage | https://github.com/Ricky12Awesome/packwiz-modlist |
repository | https://github.com/Ricky12Awesome/packwiz-modlist |
max_upload_size | |
id | 565118 |
size | 89,244 |
Creates a modlist from packwiz
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
# Displays help
packwizml --help # short: -h
# Prints about this program
packwizml --about
# Sets a project path
# other path options are relative to this by default
# to disable this, add '-O' for output and '-M' for mods
packwizml --path ./ # short: -p
# Sets an output directory
# to disable being relative to '--path' add '-O'
packwizml --output modlist.md # short: -o
# Sets a mods directory
# to disable being relative to '--path' add '-M'
packwizml --mods ./mods # short: -m
# Overwrite output file if it exists
packwizml --force # short: -F
# Prints out all data as json so it can be used in scripts
packwizml --json
# Sets the lagging level
# possible values: Off, Error, Warn, Info, Debug, Trace
# default: Warn
packwizml --log-level=Off # short: -v
# Sets the color mode
# possible values: Auto, Always, Never
# default: Auto
packwizml --color-mode=Auto # short: -c
# Sets a custom format
# default: `- [{NAME}]({URL}) - {DESCRIPTION}\n`
packwizml --format "- [{NAME}]({URL}) - {DESCRIPTION}\n" # short: -f
# Sets how it should sort
# possible values: Name, Title, Slug, Id, None
packwizml --sort-by Name # short: -s
# Sets if sorting should be reverse
packwizml --reverse # short: -r
# Sets the cache file
# default: .packwizml.cache
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 |
Set CF_API_KEY
environment variable