nushell/crates
Mathspy 9aabafeb41
Add plugin CLI argument (#6064)
* Add plugin CLI argument

While working on supporting CustomValues in Plugins I stumbled upon the
test utilities defined in [nu-test-support][nu-test-support]
and thought these will come in handy, but they end up being outdated.
They haven't been used or since engine-q's was merged, so they are
currently using the old way engine-q handled plugins, where it would
just look into a specific folder for plugins and call them without
signatures or registration. While fixing that I realized that there is
currently no way to tell nushell to load and save signatures into a
specific path, and so those integration tests could end up potentially
conflicting with each other and with the local plugins the person
running them is using.

So this adds a new CLI argument to specify where to store and load
plugin signatures from

I am not super sure of the way I implemented this, mainly
I was a bit confused about the distinction between
[src/config_files.rs][src/config_files.rs] and
[crates/nu-cli/src/config_files.rs][crates/nu-cli/src/config_files.rs].
Should I be moving the plugin loading function from the `nu-cli` one to
the root one?

[nu-test-support]: 9d0be7d96f/crates/nu-test-support/src/macros.rs (L106)
[src/config_files.rs]: 9d0be7d96f/src/config_files.rs
[crates/nu-cli/src/config_files.rs]: 9d0be7d96f/crates/nu-cli/src/config_files.rs

* Gate new CLI option behind plugin feature

* Rename option to plugin-config
2022-07-17 13:29:19 -05:00
..
nu_plugin_example Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu_plugin_gstat fix documentation of plugin encodings (#6052) 2022-07-15 05:28:14 -05: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 fix documentation of plugin encodings (#6052) 2022-07-15 05:28:14 -05:00
nu-cli Add plugin CLI argument (#6064) 2022-07-17 13:29:19 -05:00
nu-color-config Bump to 0.65.1 dev version (#5962) 2022-07-06 16:25:09 +12:00
nu-command check column type during aggregation (#6058) 2022-07-16 15:34:12 +01:00
nu-engine update some dependencies (#6009) 2022-07-11 11:18:06 -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 Fix short-flag completion (#6067) 2022-07-17 07:46:40 -05: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 Split merging of parser delta and stack environment (#6005) 2022-07-14 17:09:27 +03:00
nu-system Fix ps command on linux (#6047) 2022-07-14 06:20:54 -05:00
nu-table Refactoring nu_table (#6049) 2022-07-14 15:24:32 -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
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.