cliPackageDir property

  1. @Deprecated('Use SidekickContext.sidekickPackage.root')
Directory? cliPackageDir

The location of the sidekick package

Usually injected from the tool/run.sh script itself via env.SIDEKICK_PACKAGE_HOME

null when not executed with entryPoint

Usually you want to use sidekickPackage

Implementation

@Deprecated('Use SidekickContext.sidekickPackage.root')
static Directory? get cliPackageDir => SidekickContext.sidekickPackage.root;