forked from dwaring87/rtm-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
feat: new command to convert tasks to Obsidian Task format #157
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Includes the recurrenceRule
The file written is associated with the task entry through a wiki link
Owner
Author
|
You may need to look at the date conversion. I ran this at 9:54PM (still on the 16th but it was the 17th UTC). Check out the cat box with ID 5184. RTM still shows it on 16 but the Obsidian tasks are on the 17th. There may be a timezone issue here. :( |
for some reason dates were off by one day
to keep the Obsidian file list cleaner
Removes `@` from tags and replaces it with `context` when creating tags for Obsidiian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
new command
obsidianto convert tasks to Obsidian Taskformat. Tasks are written to the std out and a file with notes and the URL is written the system's OS specific temporary directory
or a new configuration value
obsidianTaskDirfrom~/.rtm.json.Currently, this only works for incomplete tasks.
For example,
rtm ls icemakerwould outputand
rtm obsidian 4330would output- [ ] descale icemaker ⌛30m ➕ 2025-09-28 📅 2025-12-16 🔁 every 3 months �� #Personal 🆔 4330which could be written to a file in your Obsidian Vault.
This updates the
rtm-apidependency, addds some very basic unit tests.