Script.defaults constructor

const Script.defaults({
  1. required String name,
  2. List<String> commands = const [],
  3. Set<String> aliases = const {},
  4. ScriptsConfig? scripts,
  5. String? description,
  6. bool bail = false,
  7. List<String>? parents,
  8. ScriptEnv? env,
})

Implementation

const Script.defaults({
  required this.name,
  this.commands = const [],
  this.aliases = const {},
  this.scripts,
  this.description,
  this.bail = false,
  this.parents,
  this.env,
});