Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

PowerShell/command-not-found

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Thecommand-not-found module is a feedback provider plugin for PowerShell.This feedback provider depends on thecommand-not-found utility,which is often available on Linux by default,to provide suggestions when a native command cannot be found.

bash also calls thecommand-not-found utility to provide suggestions when a command cannot be found.But this feedback provider plugin does more than that,thanks to thecommand-line predictor feature in PowerShell.It also implements theICommandPredictor interface and serves as a predictor.When the resulted feedback contains actionable items, such as commands to run,they will be used as predictive suggestions to streamline the user's command-line experience.


FeedbackProvider

Requirements

Thecommand-not-found plugin is built on theIFeedbackProvider interface,which is available with PowerShell7.4.0-preview.2 or above.To display prediction suggestions from thecommand-not-found,you needPSReadLine 2.2.6 or above.

  • PowerShell7.4.0-preview.2 or above
  • PSReadLine2.2.6 or above

Documentation

PowerShell feedback providers and predictors are written in C# and registered with the PowerShellSubsystem Plugin Model.To learn more, see "How to create a feedback provider" and"How to create a command-line predictor".

Build

Make sure thelatest .NET 8 SDK is installedand available in yourPATH environment variable.Run.\build.ps1 frompwsh to build the project.The module will be published to.\bin\command-not-found by a successful build.

Code of Conduct

Please see ourCode of Conduct before participating in this project.

Security Policy

For any security issues, please see ourSecurity Policy.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp