module Zap::Commands::Dlx
Defined in:
commands/dlx/config.crcommands/dlx/dlx.cr
Class Method Summary
-
.get_identifier_and_path(packages : Array(Tuple(String, String | Zap::Package::Alias)), *, prefix : String | Nil = nil)
Infer an identifier and a suitable location from the packages and versions
-
.get_packages_versions(main_package : Package | Nil, config_packages : Array(String)) : Array(Tuple(String, String | Zap::Package::Alias))
Get the packages and versions from the config
- .run(config : Zap::Config, dlx_config : Dlx::Config)
Class Method Detail
def self.get_identifier_and_path(packages : Array(Tuple(String, String | Zap::Package::Alias)), *, prefix : String | Nil = nil)
#
Infer an identifier and a suitable location from the packages and versions
def self.get_packages_versions(main_package : Package | Nil, config_packages : Array(String)) : Array(Tuple(String, String | Zap::Package::Alias))
#
Get the packages and versions from the config