owned this note changed 2 years ago
Published Linked with GitHub

nu-cmd crate topology proposal

what should the name be ?

  • nu-cmd-util
  • nu-cmd-base (storm likes this name better)

nu-cmd-xxx as the base crate for command traits

it would not have lots of dependencies but be a core command type of crate similar to nu-protocol

amtoine and I are starting to bust out and design some more crates from nu-command to nu-cmd-extra

we are starting to think about a crate topology similar to the beautiful crate topology design of arrow

I don't want to make nu-util be that dumping ground of core traits that nu-commands need moving forward

nu-util is for ansi stuff and color stuff and we need a base nu-command crate and I don't want nu-util to be that crate

I would like to have another base crate for commands and I would like to come up with a nu-cmd crate topology longer term.

Does this strategy make sense ?

We would like to have a hierarchy of nu-command crates that make sense similar to the
Arrow Crate Topology.

They started out with one large crate and came up with a very logical design of smaller
crates. We don't need something quite like this yet.

But it would be great if we could at least have one base crate and thus nu-cmd-xxx

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

References

Select a repo