Skip to content

mt clean

Michael Schwartz edited this page Jul 22, 2021 · 2 revisions

When you use mt bump, mt makes backups of files that it changes and writes to disk. This is so you can recover those files if needed.

The files are copied to a file with the name .bak, where might be pubspec.yaml (would become pubspec.yaml.bak).

This command will recurse (if --recurse flag is set) and remove any .bak files in your source code tree.

# mt help clean

 ========================
 == mt by Modus Create ==
 ========================

Clean .bak files

Usage: mt clean [arguments]
-h, --help            Print this usage information.
-r, --[no-]recurse    Perform pub get recursively from directory down. Defaults to current directory.
-b, --[no-]bak        Remove .bak files
                      (defaults to on)

Run "mt help" to see global options.

Clone this wiki locally