sqrl deps
The deps
command loads all packages specified in the squirrels.yml
file from their Git repositories.
Usage
sqrl deps
Description
This command:
- Reads the
packages
section from yoursquirrels.yml
file - Downloads each package from its Git repository
- Stores the packages in the
sqrl_packages
directory - Makes the packages available for use in your project
Package Configuration
Packages are configured in the squirrels.yml
file under the packages
section. Each package should specify:
packages:
- git: https://github.com/owner/repo.git
revision: v1.0.0 # Optional: tag, branch, or commit hash
directory: custom_name # Optional: custom directory name
Examples
Load all packages specified in squirrels.yml:
sqrl deps
Notes
- Packages are downloaded into the
sqrl_packages
directory - The
sqrl_packages
directory should be added to.gitignore
- Each package must be a valid Git repository
- If no revision is specified, the default branch will be used
- The directory name defaults to the repository name if not specified
- Packages can be used to share common macros or Python functions across projects