Skip to content

Create an open command #7

Description

@Tallented-Code-bot

Create a new command called jd open. This would open a file/directory of a JD number in the default application.

Considerations:

  • Without any argument it would open the directory, probably in a file explorer.
  • With a file argument it would try to open that file. The file argument could be a regex/glob.
  • It would need to work on Linux, Mac, and Windows. There may be a rust crate to do this; if not, you can certainly use xdg-open on linux; I don't know about mac or windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions