Skip to content

package:cli_util v0.6.0

Pre-release
Pre-release

Choose a tag to compare

@dcharkes dcharkes released this 21 Aug 10:35
· 10 commits to main since this release
8217b21
  • Breaking Change: sdkPath now returns String? (returning null if no
    valid Dart SDK can be located).
  • Support robust SDK discovery for AOT-compiled tools (dart install,
    dart build cli) probing Platform.resolvedExecutable, DART_ROOT,
    DART_SDK, system PATH (with Flutter wrapper layout awareness), and
    FLUTTER_ROOT.
  • Add dartExecutable getter (String?) to locate the dart binary.
  • Add isValidSdkPath(String candidatePath) validation helper.