Page MenuHomewrite.as

Add password flag to CLI
Open, NormalPublic

Description

Overview

Add a password -p flag for the writeas auth / wf auth command that allows users to supply the password to authenticate with instead of interactively entering it.

Background

Among other things, this will enable authentication in the desktop app.

Implementation

If a -p flag is given with a non-empty string, use it as the password during the authentication process and skip the interactive entry step that exists today. Otherwise prompt for the password, as we already do.

Event Timeline

matt created this task.Sep 4 2019, 10:46 AM