cmd_plus 1.3.2 copy "cmd_plus: ^1.3.2" to clipboard
cmd_plus: ^1.3.2 copied to clipboard

A wrapper around dart:io Process, package:io and mason_logger to make it easier to run commands in dart scripts.

1.3.2 #

  • Minor updates to the maintainability of the codebase

1.3.1 #

  • BREAKING CHANGE:Renames DirectoryCopyFilter to DirectoryFilter and FileCopyFilter to FileFilter
  • Creates new method, filterDirectory(), for applying the same great filtering logic to in-place-edits (no need to create tmp directories etc.)
  • Creates new method, deleteEmptyDirectories(), for deleting all of the empty subdirectories within a directory

1.2.2 #

  • Won't terminate sharedStdIn if ProcessManager is not used.

1.2.1 #

  • Won't create ProcessManager when not provided as parameter, until it is actually required. This shall fix all the issues when using CmdPlus().run() in mason hooks.

1.2.0 #

  • BREAKING CHANGE: Splits copy into two functions, copyDirectory and copyFile.
  • BREAKING CHANGE: Renames CopyFilter to DirectoryCopyFilter
  • Creates a new FileCopyFilter
  • Exports internally used extension methods on Directory and File

1.1.0 #

  • BREAKING CHANGE: CmdPlus functions are no longer static.
  • Adds functions equivalent to Process.run and Process.start, when previously there was only a function somewhat equivalent to Process.run.
  • Adds logger (with package:mason_logger)
  • Adds support for proper I/O streams, so its possible to run code (CmdPlus().start())that prompts user input (with package:io)
  • Adds function for copying whole directories from one place to another while filtering the paths and file contents easily.

1.0.1 #

  • Initial release, contains run function.
3
likes
140
pub points
64%
popularity

Publisher

verified publishermankeli.co

A wrapper around dart:io Process, package:io and mason_logger to make it easier to run commands in dart scripts.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

freezed, freezed_annotation, io, mason_logger, path

More

Packages that depend on cmd_plus