Skip to content

CLI commands integration #884

@Mariusslo

Description

@Mariusslo

Description

I think it would be awesome to have notepadnext cli command that would open a folder as a project through all supported OS.

With such a feature it would be easy for people who work with multiple projects to open a relavant project's notes via a command alias. What I mean is lets say i work with 5 projects, open them via UI is annoying.

Describe the solution you'd like

if there was a command:

notepadnext directorypath

you could setup aliases like this:

notes:project-name'='notepadnext directorypath'
notes:project-name2'='notepadnext directorypath2'
notes:project-name3'='notepadnext directorypath3'

etc.

Support for file opening like this is also a great idea via option or check during execution

Describe alternatives you've considered

I am using macos and tried to setup natively with commands:

open -a notepadnext ~/Notes/general/*
opens all contens in seperate tabs, but not as a project

open -a notepadnext ~/Notes/general
tries to create a file named general

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