cliNameOrNull top-level property

  1. @Deprecated('Use SidekickContext.cliName')
String? cliNameOrNull

Name of the cli program (if running a generated sidekick CLI) or null (if running the global sidekick CLI)

Implementation

@Deprecated('Use SidekickContext.cliName')
String? get cliNameOrNull => SidekickContext.cliName;