Skip to content

casparwylie/cnfcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

cnf-cli

https://pypi.org/project/cnfcli/

CLI tool based on command-not-found.com, providing installation suggestions for any command, and detect's OS to choose and install the tool automatically.

Installation

pip3 install cnfcli

Usage

-bash: lsof: command not found

:(

$ cnf lsof will recommend installations for the command lsof based on your OS.

Found `brew install lsof`

Would you like to install it? [Y/n]

Or, failing to find a good match, it will display all results:

Debian: apt-get install lsof
Ubuntu: apt-get install lsof
Alpine: apk add lsof
Arch: pacman -S lsof
Kali: apt-get install lsof
CentOS: yum install lsof
Fedora: dnf install lsof

Sorry, couldn't work out which to use.

About

CLI tool for command-not-found.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages