Page MenuHomeMusing Studio

List collections
Closed, ResolvedPublic

Description

Overview

Add a command that allows users to list collections on their account.

Implementation

I'm thinking the command should be writeas blogs or writeas colls. With this, we should rename the writeas list command to writeas posts.

The list should include the collection alias (since users need this for other CLI commands) followed by the collection title (to help users remember what a collection is for). Ideally, these columns would be tab-separated to make things look nice, e.g:

matt      Matt's blog
notebook  Notebook

Event Timeline

matt moved this task from Backlog to Next Up on the Write.as CLI board.

found a cool little library for neat tabbed columns

https://github.com/ryanuber/columnize

this is no longer needed, the library is not as flexible as using a text/tabwriter

I went with colls, but maybe blogs is better?