-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Redesign CLI console messages and user interactions. (#734)
* Add new cli options. * Fix spinners. * Fix technology spinners. * Update validators for cli. * Remove use of validators. * Small changes. * Add tests for validators. * Change limit to number-of-urls. * Delete validateArgs file. * Fix sitemap error messages. * Remove extra logging. * Correct validator. Add write permission validator to outDirectory validation. * Add cli e2e test. * Temporarily skip tests. * Fix spinnies. * skip test. * Comment out code. * Update test. * Add shared config for testing cli. * Fix spinners. * Fix error messages. * Correct verbose logs. * Add chalk package and paint red the error messages. * Add reusbale function to use update spinner text. Add indentation for the verbose spinner text. Make uniform grammar. * Change wording to locale. * Use spinnies instead of chalk. * Fix messages in spinnies. * Fix tech analysis. * Fix spinnies. * Remove fullstop. * Fix failing tests. Use console.log instead of console.error. * Change messaging. * Fix indentation. * Add spinnies type. * Add spinnies type. * Add spinnies to main package.json file. * Conditionally update usage text. * Remove validation for access. Remove fullstop from message. * Add help text at the end of help command. * Configure help message. * Capatialise error message. * Fix utl validator to accomodate the URL argument. * Remove default options. * Fix option name to use make CLI readable. * Fix package.json. * Fix eslint. * Fix condition. * Fix indent. * Make a redLogger for cli errors * Fix non provision of argument. Remove optional website argument. * If argument consists of flags then display error. * Add back ensureDir --------- Co-authored-by: sayedtaqui <sayedwp@gmail.com>
- Loading branch information
Showing
25 changed files
with
986 additions
and
454 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.