nushell/crates
Jakub Žádník 3676a8a48d
Expand Hooks Functionality (#5982)
* (WIP) Initial messy support for hooks as strings

* Cleanup after running condition & hook code

Also, remove prints

* Move env hooks eval into its own function

* Add env change hooks to simulator

* Fix hooks simulator not running env hooks properly

* Add missing hooks test file

* Expand hooks tests

* Add blocks as env hooks; Preserve hook environment

* Add full eval to pre prompt/exec hooks; Fix panic

* Rename env change hook back to orig. name

* Print err on test failure; Add list of hooks test

* Consolidate condition block; Fix panic; Misc

* CHange test to use real file

* Remove unused stuff

* Fix potential panics; Clean up errors

* Remove commented unused code

* Clippy: Fix extra references

* Add back support for old-style hooks

* Reorder functions; Fmt

* Fix test on Windows

* Add more test cases; Simplify some error reporting

* Add more tests for setting correct before/after

* Move pre_prompt hook to the beginning

Since we don't have a prompt or blocking on user input, all hooks just
follow after each other.
2022-07-10 13:45:46 +03:00
..
nu-cli Expand Hooks Functionality (#5982) 2022-07-10 13:45:46 +03:00
nu-color-config Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu-command throw parser error when multiple short flags are defined without whitespace (#6000) 2022-07-10 20:32:52 +12:00
nu-engine Add --directory (-D) flag to ls, list the directory itself instead of its contents (#5970) 2022-07-08 14:15:34 -05:00
nu-glob Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu-json Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu-parser throw parser error when multiple short flags are defined without whitespace (#6000) 2022-07-10 20:32:52 +12:00
nu-path Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu-plugin Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu-pretty-hex Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu-protocol Expand Hooks Functionality (#5982) 2022-07-10 13:45:46 +03:00
nu-system Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu-table nu-table: Fix wrap logic (#5998) 2022-07-09 14:55:39 -05:00
nu-term-grid Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu-test-support Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu-utils Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu_plugin_example Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu_plugin_gstat Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu_plugin_inc Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu_plugin_python Fix Python plugin (missing search terms) (#5083) 2022-04-03 20:00:53 -05:00
nu_plugin_query Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
old Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00

Nushell core libraries and plugins

These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.

Foundational libraries are split into two kinds of crates:

  • Core crates - those crates that work together to build the Nushell language engine
  • Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.

Plugins are likewise also split into two types:

  • Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
  • Extra plugins - these plugins run a wide range of different capabilities like working with different file types, charting, viewing binary data, and more.