brickdiff

command module
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

README

brickdiff

> ./brickdiff --help
A command line tool for comparing Bricklink Wanted lists

Usage:
  brickdiff [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  subtract    Subtracts two Bricklink Wanted lists in XML format and prints the output to the console

Flags:
  -h, --help     help for brickdiff
  -t, --toggle   Help message for toggle

Use "brickdiff [command] --help" for more information about a command.

Subtracting two wanted lists

> ./brickdiff subtract --help
Subtracts two Bricklink Wanted lists in XML format and prints the output to the console
        If an item is in the first list, but not in the second, it will be unchanged
        If an iten is in both lists, the quantity in the second list is subtracted from the quantity in the first,
        and if the result is >0 the item will be in the result with the remaining quantity.

Usage:
  brickdiff subtract bricklist1 bricklist2 [flags]

Flags:
  -c, --clipboard   Copy output to clipboard (default true)
  -h, --help        help for subtract
  -m, --mulitline   Multiline output (default is compact output)
      --o string    Name of output file (default output is to clipboard)
  -s, --stdout      Print output to console (stdout)

Documentation

Overview

Copyright © 2022 Oliver Götz <developer@geekgasm.eu>

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL