feat(cli): support blocking bots
This commit is contained in:
parent
1f9e2d856f
commit
91621b120a
5 changed files with 48 additions and 4 deletions
|
@ -3,12 +3,14 @@ import { addPost } from './addPost.js';
|
|||
import { addLinkToShare } from './addLinkToShare.js';
|
||||
import { addEpisodeToShow } from './addEpisodeToShow.js';
|
||||
import { updateReadingProgress } from './updateReadingProgress.js';
|
||||
import { addBlockedRobot } from './addBlockedRobot.js';
|
||||
|
||||
const TASKS = [
|
||||
{ name: '📄 Add post', handler: addPost },
|
||||
{ name: '🔗 Add link to share', handler: addLinkToShare },
|
||||
{ name: '➕ Add episode to show', handler: addEpisodeToShow },
|
||||
{ name: '📚 Update reading progress', handler: updateReadingProgress },
|
||||
{ name: '🤖 Block robot', handler: addBlockedRobot },
|
||||
];
|
||||
|
||||
export const runTasksMenu = async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue