drtimport 1.0.7 copy "drtimport: ^1.0.7" to clipboard
drtimport: ^1.0.7 copied to clipboard

discontinued
outdated

An cli app to help you refactor you dart libraries because VSCode won't.

drtimport #

A command line application that allow helps refactor dart libraries.

You can use it to move a library (or directory of libraries) and drtimport will update import statements across your whole package to reflect the new location of files.

Dart import management, version: 1.0.2

Usage: drtimport <command> [arguments]

Global options:
-h, --help    Print this usage information.

Available commands:
  help     Display help information for drtimport.
  move     Moves a dart library and updates all import statements to reflect its new location.
  patch    Patches import statements by doing a string replace.
  relative Changes all local paths from package to relative.

Run "drtimport help <command>" for more information about a command.


move:

move <from path> <to path>
e.g. move apps/string.dart  util/string.dart
-h, --help           Print this usage information.
    --root=<path>    The path to the root of your project.
                     (defaults to ".")

    --debug          Turns on debug ouput
-v, --version        Outputs the version of drtimport and exits.


patch:

Patches import statements by doing a string replace within every import statement.
<from string> <to string>
e.g. AppClass app_class
-h, --help    Print this usage information.
2
likes
20
pub points
0%
popularity

Publisher

verified publisheronepub.dev

An cli app to help you refactor you dart libraries because VSCode won't.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, dshell, file_utils, intl, logger, path, pedantic, recase, yaml

More

Packages that depend on drtimport