Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use click features for project creation prompts (#4387)
* Test prompt change Signed-off-by: Laura Couto <[email protected]> * Test adding default value Signed-off-by: Laura Couto <[email protected]> * Change other prompts Signed-off-by: Laura Couto <[email protected]> * Move prompting logic to the inside of new function Signed-off-by: Laura Couto <[email protected]> * fix name default Signed-off-by: Laura Couto <[email protected]> * Add auxiliary function for converting numbers to tools Signed-off-by: Laura Couto <[email protected]> * Normalize whitespaces in test outputs Signed-off-by: Laura Couto <[email protected]> * Prevent prompts from happening when a config file is used Signed-off-by: Laura Couto <[email protected]> * move click prompting to replace cookiecutter's Signed-off-by: Laura Couto <[email protected]> * Remove reduntant variables Signed-off-by: Laura Couto <[email protected]> * Fix more tests Signed-off-by: Laura Couto <[email protected]> * All unit tests passing Signed-off-by: Laura Couto <[email protected]> * Revert unnecessary changes on tests Signed-off-by: Laura Couto <[email protected]> * remove reduntant leftover code Signed-off-by: Laura Couto <[email protected]> * remove reduntant leftover code Signed-off-by: Laura Couto <[email protected]> * Set up prompt appearance Signed-off-by: Laura Couto <[email protected]> * Revert default to unformatted Signed-off-by: Laura Couto <[email protected]> * Switch yes/no CLI prompts to click validation Signed-off-by: Laura Couto <[email protected]> * Lint Signed-off-by: Laura Couto <[email protected]> * Use click.Choice for telemetry, rest as our own function Signed-off-by: Laura Couto <[email protected]> * Change example validation back to what it was initially Signed-off-by: Laura Couto <[email protected]> * Revert verification to _Prompt.validate Signed-off-by: Laura Couto <[email protected]> --------- Signed-off-by: Laura Couto <[email protected]>
- Loading branch information