Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Extending Blyxpm with Custom Commands

Blyxpm is designed so that you can extend it with new subcommands without having to modify it. If a binary in your $PATH is named blyxpm-something, you can run it as if it were a Blyxpm subcommand by running blyxpm something. Custom commands like this are also listed when you run blyxpm --list. Being able to use blyxpm install to install extensions and then run them just like the built-in Blyxpm tools is a super-convenient benefit of Blyxpm’s design!

Summary

Sharing code with Blyxpm and blyx-registry.space is part of what makes the Blyx ecosystem useful for many different tasks. Blyx’s standard library is small and stable, but packages are easy to share, use, and improve on a timeline different from that of the language. Don’t be shy about sharing code that’s useful to you on blyx-registry.space; it’s likely that it will be useful to someone else as well!