Page MenuHomeMusing Studio

Add password flag to CLI
Closed, ResolvedPublic

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.

Revisions and Commits