fix hugo callback
This commit is contained in:
15
src/main.rs
15
src/main.rs
@ -152,6 +152,12 @@ enum StreamCommands {
|
||||
Status,
|
||||
/// Test API access to comments collection
|
||||
Test,
|
||||
/// Test user list update functionality
|
||||
TestUserUpdate,
|
||||
/// Test recent comment detection logic
|
||||
TestRecentDetection,
|
||||
/// Test complete polling cycle logic
|
||||
TestPollingCycle,
|
||||
}
|
||||
|
||||
#[derive(Subcommand)]
|
||||
@ -235,6 +241,15 @@ async fn main() -> Result<()> {
|
||||
StreamCommands::Test => {
|
||||
commands::stream::test_api().await?;
|
||||
}
|
||||
StreamCommands::TestUserUpdate => {
|
||||
commands::stream::test_user_update().await?;
|
||||
}
|
||||
StreamCommands::TestRecentDetection => {
|
||||
commands::stream::test_recent_detection().await?;
|
||||
}
|
||||
StreamCommands::TestPollingCycle => {
|
||||
commands::stream::test_polling_cycle().await?;
|
||||
}
|
||||
}
|
||||
}
|
||||
Commands::Oauth { command } => {
|
||||
|
Reference in New Issue
Block a user