Skip to content

Conversation

@ea-open-source
Copy link
Owner

@ea-open-source ea-open-source commented May 30, 2022

Motivation

The move package upload from #2 requires users to save their Movey's API token locally, which is inconvenient and error prone to do manually.
This PR adds move login command, allows users to save Movey's API Token using the CLI.

How to use it

Step 1: Run the following command on the terminal:
move login
Step 2: Enter your Movey API Token (you can get it on Movey), the token will be saved in $HOME/.move/credential.toml.

Have you read the Contributing Guidelines on pull requests?

Yes.

Test Plan

cargo test --package move-cli --test cli_tests save_credential -- --test-threads 1
cargo test --package move-cli --lib save_credential -- --test-threads 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants