diff --git a/KiBOM_CLI.py b/KiBOM_CLI.py new file mode 100644 index 0000000..3ae019d --- /dev/null +++ b/KiBOM_CLI.py @@ -0,0 +1,28 @@ +#!/usr/bin/env python3 +""" + @package + KiBOM - Bill of Materials generation for KiCad + + Generate BOM in xml, csv, txt, tsv, html or xlsx formats. + + - Components are automatically grouped into BoM rows (grouping is configurable) + - Component groups count number of components and list component designators + - Rows are automatically sorted by component reference(s) + - Supports board variants + + Extended options are available in the "bom.ini" config file in the PCB directory + (this file is auto-generated with default options the first time the script is executed). + + For usage help: + python KiBOM_CLI.py -h +""" + +import sys +import os + +here = os.path.abspath(os.path.dirname(__file__)) +sys.path.insert(0, here) + +from kibom.__main__ import main # noqa: E402 + +main()