#安装 #如何 #命令 #查找 #帮助 #CLI #tl-dr

app how-install

一个用于帮助查找如何安装指定命令的CLI工具

1 个稳定版本

1.0.0 2022年6月8日

#8 in #tl-dr

MIT 许可证

19KB
142

how-install

一个用于帮助查找如何安装指定命令的CLI工具。

致谢

如果没有核心功能,这一切将不会存在,其中没有一个是我的。

非常感谢

安装

cargo install how-install

示例用法

假设你想知道如何在你的发行版上安装 make。你可以使用 how-install 来完成这个任务

$ how-install make

TLDR
  Task runner for targets described in Makefile.
  Mostly used to control the compilation of an executable from source code.
  More information: <https://www.gnu.org/software/make/manual/make.html>.

  Call the first target specified in the Makefile (usually named "all"):

      make

  Call a specific target:

      make target

[...]

INSTALL
  sudo pacman -S make

命令参数

how-install
A CLI for helping find how to install a given command

Credit to:
   - https://tldr.sh for descriptions
   - https://dbrgn.github.io/tealdeer/ for tldr console output
   - https://command-not-found.com/ for command install information

USAGE:
    how-install [OPTIONS] <CMD>

ARGS:
    <CMD>
            Command to lookup how to install

OPTIONS:
        --distro <DISTRO>
            OS to install for

            [possible values: debian, ubuntu, alpine, arch, kali, centos, fedora, raspbian, docker]

    -h, --help
            Print help information

    -i, --install
            Run install command

        --no-tldr
            Don't output TLDR info about the given command

    -y
            Automatically run install command without prompting

依赖

~13–28MB
~423K SLoC