lepton-cli(1) | 1.9.7.20181211 | lepton-cli(1) |
lepton-cli - Lepton EDA Command-Line Utility
lepton-cli [OPTION ...] COMMAND [ARGS ...]
lepton-cli is part of the Lepton EDA (Electronic Design Automation) toolset. It provides a number of small command-line utilities for working with schematic and symbol files, and is designed to be used for batch processing of designs created using the schematic editor lepton-schematic(1). It currently has three built-in COMMANDs:
lepton-cli export is used to create SVG, PDF, PNG, PS and EPS files from schematic and symbol files, for printing or embedding in other documents.
lepton-cli config allows reading and writing settings in Lepton EDA project, user and system configuration stores.
lepton-cli shell provides a Scheme REPL for command-line batch processing of schematic data.
lepton-cli export [OPTION ...] -o OUTPUT [--] FILE ...
lepton-cli export can export schematic and symbol files in a variety of image formats for printing or further processing. It currently supports single-page PNG, SVG and EPS output, and multi-page PS and PDF output. It accepts a variety of options for controlling how the output is formatted.
The --size, --margins, or --scale options described above accept values using units of `mm', `cm', `in', `pc', `px', or `pt'. If you do not provide a unit, points are assumed. N.b. that `px' are evaluated relative to the current --dpi setting.
When using the --size, --margins, or --align options with multiple values, you may use `;', or ` ' as a separator between them instead of `:'. In such a case, remember to properly quote your arguments to avoid them to be interpreted by your shell.
lepton-cli config [OPTION] [GROUP KEY [VALUE]]
lepton-cli config is a basic utility for inspecting and modifying Lepton EDA configuration stores.
If a GROUP and KEY are specified, retrieves the value of that configuration parameter. If a VALUE is specified, sets the value of that parameter. The -p, -u and -s options can be used to select the configuration store affected (by default, the project configuration store for the current working directory). If no GROUP and KEY are provided, outputs the filename of the selected configuration store.
lepton-cli shell [OPTION ...]
lepton-cli shell provides a Scheme Read-Eval-Print Loop (REPL) for automating processing of schematic and symbol files. It is designed to be used with the Lepton EDA Scheme API.
The -s, -c and -- switches stop argument processing and pass all the remaining arguments as the value of `(command-line)'.
See the `AUTHORS' file included with this program.
Copyright © 2012-2017 gEDA Contributors. Copyright © 2017-2018 Lepton Developers. License GPLv2+: GNU GPL version 2 or later. Please see the `COPYING' file included with this program for full details.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
For more information on the Scheme API, see the lepton-scheme Texinfo manual. If the info program is properly installed at your site, the command
should give you access to the complete manual.
December 11, 2018 | Lepton EDA |