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

nd-autoinstall - install (if necessary) and run an application

Author

       Written by Yaroslav Halchenko for the NeuroDebian project.

Description

       Runs  the COMMAND if it is available, otherwise installs PACKAGE first, and then runs the command.  If an
       environment file is specified, it gets sourced first (PACKAGE gets installed if environment file  is  not
       available).

Name

       nd-autoinstall - install (if necessary) and run an application

Options

-p, --package=PACKAGE

              Name of the package to be installed if named differently than COMMAND.

       -e, --environment-file=FILE

       File to be sourced before invocation of the COMMAND.
              If not found,

              PACKAGE gets installed first.

       -f, --force

              Skip all checks and install package(s) provided via --package.

       -F, --file=FILE

              If specified file is not present, install the PACKAGE and run the COMMAND.

       -v, --verbose

              Enable additional progress messages.

       -t, --title

              Optinal title of the installation dialog.

       -h, --help

              Print short description, usage summary and option list.

       --version

              Print version information and exit.

       Exit status:

              exit status of the COMMAND -

              if COMMAND is available (or got sucesfully installed)

              2 - incorrect invocation of nd-autoinstall 3 - PACKAGE installation failure

Synopsis

nd-autoinstall [options] COMMAND [command_options]

See Also