apache / apache/cordova-cli

Command to clean the cordova project

Open
#664 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
967
Forks
344
Avg merge
8h 41m
Merged PRs (30d)
9

Description

# Feature Request
Command to clean the cordova project

## Motivation Behind Feature
Sometimes things get odd in the project and you have to manually remove the folders `node_modules`, `platforms` and `plugins`. It would be great if there could be a command to do this. I see `cordova clean` is already in use. How about `cordova refresh` or `cordova tidy` which would remove the folders and would do a `cordova prepare`.

## Feature Description

## Alternatives or Workarounds

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the existing cordova clean and cordova prepare command entry points and how they remove or recreate project folders. Decide on the command name and ensure it removes node_modules, platforms, and plugins before performing the equivalent of cordova prepare; verify the behavior with the CLI's existing command tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.