-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from INTI-CMNB/recover_cli_script
Recover the KiBOM_CLI.py script.
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 -m kibom -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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters