Spool is a CLI tool for Spoolman to view, check and use spools. Using a spool is meant to reduce the weight of a spool. Whereas checking a spool helps identify spools with enough material left for a print.
For configuration spool uses a TOML file saved as ~/.config/spool/config.toml
to configure the Spoolman URL.
[spoolman]
url = "https://spoolman.acme-domain.tld"
If a proxy connection is required, the default environment variables can be used.
Default: ""
If a proxy connection is required.
Example:
export https_proxy=http://proxy.acme-domain.tld
A Spoolman CLI helper
Usage: spool <COMMAND>
Commands:
list List available spools
check Check if a spool has enough available material
use Reduce the used filament in grams from the spool
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
List available spools
Usage: spool list
Options:
-h, --help Print help
Check if a spool has enough available material
Usage: spool check <SPOOLID> <WEIGHT>
Arguments:
<SPOOLID> Spool ID
<WEIGHT> Used weight by print in grams
Options:
-h, --help Print help
Reduce the used filament in grams from the spool
Usage: spool use <SPOOLID> <WEIGHT>
Arguments:
<SPOOLID> Spool ID
<WEIGHT> Used weight by print in grams
Options:
-h, --help Print help