HomeWrite.as

Automatically set WF account as default on first auth

Description

Automatically set WF account as default on first auth

Now when running wf auth, we'll automatically set the given host +
username as the default account in .writefreely/config.ini, so subsequent
requests without an explicit --host and --user will use this account.

Ref T635 T586

Details

Provenance
mattAuthored on Jul 22 2019, 7:13 PM
Parents
rWCLI8b1cc1411cd0: Reflect wf-cli/writeas-cli in User-Agent
Branches
Unknown
Tags
Unknown
Tasks
T586: Support any WriteFreely instance
T635: configurable defaults