Replies: 2 comments 3 replies
-
Originally, the feature was done for a person who worked on Linux. When it got good enough for him, we marked the feature done, I did cursory test on Windows(mostly using cmd instead of powershell) and that was all. It looks like you have figured out some quirks of the feature, but just in case I'll name everything I did to made it work somehow:
Example: Let's assume
And the script $obj = $input | ConvertFrom-Json
$obj.specialTags | Where {$_.due} | ForEach{$_.due = ''}
$obj.specialTags | Where {$_."!hidedue"} | ForEach{$_."!hidedue" = '????'}
Write-Output (ConvertTo-Json $obj) Now list tasks:
As you see, now column |
Beta Was this translation helpful? Give feedback.
-
My config below:
Earlier I was not able to see how the json output looked, for (
As per above, the description should only contain "Prepare design for Scheduler feature", others added by code to display on screen. For one the case (the 2 main troubles) mentioned in #75,
For this case, Is it possible to add a place holder in the description ? so that it can be replaced by tags later. For specialTags containing exclamation "!", one knows that those are for script purposes and can be hidden (by a config explained below). I'm saying this because it impacts the text where let's say someone don't want to see tags like "!hidedue" or anything else and just the description only. By placeholder I mean like, In python, one can add placeholders for e.g. The below one is debatable. At this point I suggest to only have this as something to think about.
Let me know what you think about all of the above. |
Beta Was this translation helpful? Give feedback.
-
I'm trying custom formatting. Let's say, I have the following task:
And I have written a simple powershell script for removing due date:
But when I add the tag --
!hidedue
I'm get the following error. Powershell uses a variable$Args
for command line inputs. Not sure how input is passed here. What is wrong or am I missing anything ? Can you please share some insight ?Beta Was this translation helpful? Give feedback.
All reactions