logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

alr-with - Manage release dependencies

Author

       Generated with generate-man from Alire execution

Alire 1.2                                          Aug 3, 2022                                       ALR-WITH(1)

Description

       Inspect and manage dependencies.

   Inspectingdependencies
       Run  without  arguments  prints  current dependencies. Use --solve to print the solution in use for these
       dependencies.

   Addingdependenciesfromthecommandline
       Dependencies are added by giving their name, and removed by using the --del flag. Dependencies cannot  be
       simultaneously added and removed in a single invocation.

   Addingdependenciespinnedtoexternalsources
       When  a single crate name is accompanied by an --use PATH|URL argument, the crate is always fulfilled for
       any required version by the sources found at the given target. An optional  reference  can  be  specified
       with  --commit;  the pin will be frozen at the commit currently matching the reference.  Alternatively, a
       branch to track can be specified with --branch. Use `alr update` to refresh the tracking pin contents.

   AddingdependenciesfromaGPRfile
       The project file given with --from will be scanned looking for comments that contain  the  sequence  'alr
       with'.  These will be processed individually as if they had been given in the command line, starting with
       no dependencies. That is, only dependencies given in the GPR file will be preserved.  Example of GPR file
       contents:  with  "libhello";  -- alr with libhello Version selection syntax (global policy applies within
       the allowed version subsets):

       crate          Newest/oldest version
       crate=version  Exact version
       crate^version  Major-compatible version
       crate~version  Minor-compatible version

Global Options

       -c, --config=ARG
            Override configuration folder location

       -f, --force
            Keep going after a recoverable troublesome situation

       -h, --help
            Display general or command-specific help

       -n, --non-interactive
            Assume default answers for all user prompts

       --no-color
            Disables colors in output

       --no-tty
            Disables control characters in output

       --prefer-oldest
            Prefer oldest versions instead of newest when resolving dependencies

       --version
            Displays version and exits

       -q   Limit output to errors

       -v   Be more verbose (use twice for extra detail)

       -d, --debug[]
            Enable debug-specific log messages

Name

       alr-with - Manage release dependencies

Options

       --del
            Remove given dependencies

       --from
            Use dependencies declared within GPR project file

       --graph
            Show ASCII graph of dependencies

       --branch=NAME
            Branch to track in repository

       --commit=REF
            Commit to retrieve from repository

       --use=PATH|URL
            Add a dependency pinned to some external source

       --solve
            Show complete solution to dependencies

       --tree
            Show complete dependency tree

       --versions
            Show version status of dependencies

See Also

alr(1), alr-get(1), alr-index(1), alr-init(1),  alr-pin(1),  alr-search(1),  alr-show(1),  alr-update(1),
       gprbuild(1)

Synopsis

alrwith [options] [{ [--del] <crate>[versions]... | --from <gpr_file>... | <crate>[versions] --use
       <path> [--commit REF] [--branch NAME]} ] | --solve | --tree | --versions

See Also