Skip to content
This repository was archived by the owner on Aug 23, 2026. It is now read-only.
This repository was archived by the owner on Aug 23, 2026. It is now read-only.

Make it easy to put the wrapper script on the PATH #37

Description

@ItsHarper

My rationale is that setting something up to use topiary-nushell should not require remembering where you downloaded it to

Changes to make

  1. Rename wrapper script from format.nu to something like format-nu or topiary-nushell
    a. Note the lack of .nu extension
  2. Move the renamed wrapper to a bin folder
    a. Adjust the wrapper as necessary
  3. Edit the wrapper to print a helpful message if topiary is not installed.
  4. Add a .bat file with the same name alongside the wrapper with the contents nu --stdin <script-name>
    a. This allows the script to run correctly on Windows, as the shebang would not be respected
    b. I have not tested this, as I no longer use Windows
  5. Update documentation to recommend putting the bin folder on your PATH, and remove references to the specific topiary-nushell path.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions