public DumpCommentsForPost() { this.IsCommand("dump-comments", "Dumps the comments for a WordPress post in JSON."); LoginInfo.AddXmlRpcLogin(this); this.HasRequiredOption("postid=", "The post id to load comments for.", v => PostId = Int32.Parse(v)); this.SkipsCommandSummaryBeforeRunning(); }
public DumpPost() { this.IsCommand("dump-post", "Writes a WordPress post in json."); LoginInfo.AddXmlRpcLogin(this); this.HasRequiredOption("postid=", "The post id to load comments for.", v => PostId = Int32.Parse(v)); this.HasOption("raw", "Include more of the original fields, in raw format.", v => UseRawFormat = true); this.SkipsCommandSummaryBeforeRunning(); }
public TestAllCommand() { this.IsCommand("test-all", "Tests all the things."); LoginInfo.AddXmlRpcLogin(this); }
public DumpTags() { this.IsCommand("dump-tags", "Writes tags for a blog in json."); LoginInfo.AddXmlRpcLogin(this); this.SkipsCommandSummaryBeforeRunning(); }
public DumpCategories() { this.IsCommand("dump-categories", "Writes categories in JSON."); LoginInfo.AddXmlRpcLogin(this); this.SkipsCommandSummaryBeforeRunning(); }