Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document ID renaming #409

Closed
srid opened this issue Sep 20, 2020 · 1 comment
Closed

Document ID renaming #409

srid opened this issue Sep 20, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@srid
Copy link
Owner

srid commented Sep 20, 2020

Add a CLI command to rename IDs, which is relevant for title IDs (if not random IDs).

neuron rename "Some note title" "New note title"

Apart from renaming the file itself, this should rewrite all link references in other zettels. Use ripgrep and sd underneath. The command should print matching references, asking the user to pass --continue or something to do the actual replacement.

Background ctx: #399 (comment)

@srid srid added the CLI label Sep 20, 2020
@srid srid added this to the 0.8 milestone Sep 20, 2020
@srid
Copy link
Owner Author

srid commented Sep 22, 2020

Ignore; just document how to rename IDs using sd.

@srid srid added documentation Improvements or additions to documentation and removed CLI labels Sep 22, 2020
@srid srid changed the title Add neuron rename Document ID renaming Sep 22, 2020
@srid srid closed this as completed in 15413db Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant