Page MenuHomewrite.as

Detailed posts list
Open, Waiting, NormalPublic

Description

Overview

After T604, the CLI now prints out a nice basic table of post information on the server and locally (anonymous)

Background

We talked in T604 about having a detailed view, mocked in M5. We should add this.

I attempted with a simple table library but it didn't handle rows with a different number of columns.

I also attempted using text/tabwriters which may still work but will likely require one for each row layout. And they probably don't write to the output in unison as one would hope.

Implementation

I'm looking at https://github.com/olekukonko/tablewriter for making something neat looking that resembles the mocks.

Details

Commits
Restricted Diffusion Commit

Event Timeline

robjloranger moved this task from Backlog to Soon on the WriteFreely CLI board.Jun 7 2019, 10:34 PM
robjloranger moved this task from Soon to Next Up on the WriteFreely CLI board.Jun 11 2019, 10:53 PM
robjloranger added a commit: Restricted Diffusion Commit.Jun 12 2019, 7:11 PM
robjloranger moved this task from Complete to In Progress on the WriteFreely CLI board.

In progress as there is no writefreely CLI yet on that branch

taken from Z2, and trimmed/paraphrased:

I'm thinking the 2.0 CLI update should support the detail flag, and the current display (titles and sync status) should be changed to show only for the detailed view. that'll keep the output backwards-compatible and simpler by default.

it should not show tokens -- by default, it should only show IDs like in v1

should not show info on blogs just yet

and then we need a way to list posts on blogs, i.e. writeas posts -b matt

and in the future we could do something like writeas posts -all to show all posts like we have right now. But we can save that for a future release, because I'm not sure it's even needed right now

robjloranger changed the task status from Open to Waiting.Sep 6 2019, 6:00 PM