Skip to content

Feature: Add lnk create to create empty file or directory already added and tracked #7

Description

@polymorcodeus

Original intent was PR but abandoned with pending move to Rust.

Syntax will look different here:

# Example

# creates then add an empty directory to common with a .lnkkeep file to ensure it is tracked
lnk create ~/.config/awesome --dir

# creates then adds an empty file to personal host
lnk create ~/.conf/awesome/person.config --host personal`

This would shortcut needing to create the file in the normal directory and THEN add it. Really just a convenience to not have to open up a random IDE or vim session to edit files and can just "stay" in your lnk repo.

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions