The import command allows you to import packages directly from your language’s dependency management tooling.
state packages import --file <filename>
For Python projects, if you have a requirements.txt
file, you can import all your packages using the file.
state import --file requirements.txt
For Perl projects, if you have a cpanfile
or META.json
file, you can import all your packages using the file.
state import --file cpanfile
state import --file META.json