Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve logs in the login command (#1028)
* Add login and logout commands * Refactor graphql client and requests, add unit tests * Update shopify-config methods and tests * Update renderErrors to use cli Command * Rework env-pull to call login and remove silent param * Rework link command to call login and remove --shop flag * Update list command to call login and remove --shop flag * Update env-list command to call login and remove --shop flag * Oclif manifest * Cleanup * Rework log replacer * Mute cli-kit auth logs * Fix mock * Update cli-kit version * Add GraphQL schema generator for local development * Use business platform login to render a list of shops * Improve login logs * Merge main branch * Fix tests * Minor changes * Update package-lock * Apply suggestions from code review Co-authored-by: Gray Gilmore <[email protected]> * Change link color * Skip writing config when no directory is passed to login * Improve unit tests * Changesets * Refactor to getUserAccount and add tests * Store shopName and email in local config * Show shopName and email after login * Force prompt during login when not passing --shop flag * Fix tests * Only show loader after pressing a key * Show short version of link in terminal * Update cli-kit version and its deps * Cleanup * Update package-lock * Remove duplicated code chunk --------- Co-authored-by: Gray Gilmore <[email protected]>
- Loading branch information