alfred
- Quiet · last change 12-1-2022
- ★ 6 on GitHub
README
Commands
config
alfred confignew
alfred newinit
alfred initinstall
The install command reads the package.json file from the current directory, resolves the dependencies, and installs them into vendor.
alfred installIf there is a package.lock file in the current directory, it will use the exact versions from there instead of resolving them. This ensures that everyone using the library will get the same versions of the dependencies.
If there is no package.lock file, Composer will create one after dependency resolution.
Options
- ** --save-prod (-P):** Package will appear in your dependencies.
- ** --save-dev (-D):** Package will appear in your devDependencies.
- ** --force (-f):** Forces overwriting of files.
- ** --global (-g):** The -g or --global argument will cause alfred to install the package globally rather than locally.
update
alfred updateuninstall
alfred uninstallshow
The show command list all of the available packages.
alfred showTo filter the list you can pass a package mask using wildcards.
alfred show delphi/*If you want to see the details of a certain package, you can pass the package name.
alfred show delphi/logOptions
- --installed (-i): List the packages that are installed
- --name (-n): List package names
- --version (-v): List package versions
- --self (-s): List the root package info

