Skip to content

Clean up the Clean Logic #6734

@blink1073

Description

@blink1073

We need to improve the logic around cleaning. We should follow the lead of git clean and support flags for the jupyter lab clean command here.

The current logic only cleans the staging directory:

for name in ['staging']:
in the app directory.

I think we should add flags for cleaning:

  • The static directory
  • The settings directory (for recovery - warn if there are local linked extensions)
  • The extensions directory (for recovery)
  • The entire app directory (for recovery)

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions