logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

lepton-archive - create and extract Lepton EDA design archives

Author

       The  initial  Python  script  has  been  written by Stuart Brorson <sdb@cloud9.net>. The program has been
       rewritten almost from scratch in Scheme by Vladimir Zhbanov <vzhbanov@gmail.com>.

Description

lepton-archive  creates  and  extracts Lepton EDA designs from an archive. The two modes of operation are
       "archive mode" (archive creation) and "extract mode".  In archive mode it creates a project archive  from
       a  bunch  of project files, and in extract mode it extracts the files from the archive and places them in
       the local directory.

       In archive mode the program processes schematic files traversing their hierarchy, collecting and  caching
       all subschematics, symbols and subcircuits specified in the "file=" attributes.

       Archive mode is the default.

Examples

       To create an archive named MyArchive.tar.gz, the files to store are listed in "archive-list":

              lepton-archive -f archive-list -o MyArchive.tar.gz

       The same by using just file basename:

              lepton-archive -f archive-list -o MyArchive

       Verbosely create an archive from files listed on command line:

              lepton-archive -v README sch1.sch sch2.sch sch3.sch

       Extract an archive:

              lepton-archive -e project-archive.tar.gz

Name

       lepton-archive - create and extract Lepton EDA design archives

Options

       -h, --help             Print usage information.
       -v, --verbose          Verbose mode.
       -f, --files-from=FILE  Additionally read filenames to archive from FILE.
       -e, --extract          Extract mode. Mandatory if you want to extract from archive.
       -a, --archive          Archive mode. It is the default mode.
       -o, --output=FILE      Specify the name of the output archive file
                              in archive mode. If FILE has no ".tar.gz" suffix it will be
                              automatically appended.
                              Default file name is "project-archive.tar.gz".

See Also

lepton-schematic(1)

Synopsis

lepton-archive [OPTIONS] FILE ...

See Also