Skip to content

TheKeyholdingCompany/lasagna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lasagna

A CLI tool to build your lambda layer zip for you.

Usage

Usage:
  lasagna [options]
  lasagna --version
  lasagna --help

Options:
  -h --help               Show this Help.
  -o --output=<path>      Path to output file [default: ./layer.zip].
  -e --exclude=<lib>      A library or a comma-separated list of libraries to exclude.
  -z --nix-zip            Use zip, rather than letting lasagna do it (this is faster).
  -v --verbose            Extra output for debugging.
  -c --command=<command>  Command to run before packaging the layer.
  -r --replace=<library>  Comma-separated list of libraries with a specific version and platform. These will replace the default libraries.
  -h --host=<host>        The package repository host URL (include username and password if needed).

Examples:
  lasagna --output=./my-layer.zip
  lasagna --output=./my-layer.zip -z --host=https://user:password@my.pip.host.com/respository/my-pypi-all/simple
  lasagna --output=./my-layer.zip -z --exclude=lib1,lib2
  lasagna --output=./my-layer.zip -z --replace=lib1:1.0.0:platform,lib2:2.0.0:platform

Installation

MacOS

brew tap TheKeyholdingCompany/tap
brew install lasagna

Linux

snap install lasagna

Other

Download the binary from releases.

About

A CLI tool to build your lambda layer zip for you

Resources

License

Stars

Watchers

Forks

Packages

No packages published