conan source

$ conan source -h
WARN: Downgrading cache from Conan 2.9.3 to 2.4.1
usage: conan source [-h] [-v [V]] [-cc CORE_CONF] [--name NAME]
                    [--version VERSION] [--user USER] [--channel CHANNEL]
                    path

Call the source() method.

positional arguments:
  path                  Path to a folder containing a conanfile.py

options:
  -h, --help            show this help message and exit
  -v [V]                Level of detail of the output. Valid options from less
                        verbose to more verbose: -vquiet, -verror, -vwarning,
                        -vnotice, -vstatus, -v or -vverbose, -vv or -vdebug,
                        -vvv or -vtrace
  -cc CORE_CONF, --core-conf CORE_CONF
                        Define core configuration, overwriting global.conf
                        values. E.g.: -cc core:non_interactive=True
  --name NAME           Provide a package name if not specified in conanfile
  --version VERSION     Provide a package version if not specified in
                        conanfile
  --user USER           Provide a user if not specified in conanfile
  --channel CHANNEL     Provide a channel if not specified in conanfile

See also