-
Notifications
You must be signed in to change notification settings - Fork 1
Auto-detect ArticleID from markdown file in yt articles fetch #641
Copy link
Copy link
Closed
Description
Description
The yt articles fetch command currently requires users to pass the article ID via a flag. This enhancement would allow the command to automatically detect the article ID if the markdown file contains a comment with the format <!-- ArticleID: XXX --> at the top.
Current Behavior
- Users must explicitly pass
--article-id(or similar) to update a specific article
Desired Behavior
- If a markdown file has
<!-- ArticleID: XXX -->at the top, the command should automatically use that article ID without requiring a flag - This improves UX by reducing the number of required flags and makes the workflow more ergonomic
Example
<!-- ArticleID: DOCS-A-789 -->
# Article Title
...Running yt articles fetch --file path/to/file.md should automatically use DOCS-A-789 as the article ID.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels