add get-post-by-id command