ShellScript constructor

const ShellScript({
  1. required String fileName,
  2. List<ShellParameter> parameters = const [],
  3. bool allowRawParameters = false,
})

Creates a ShellScript annotation.

fileName is the name of the shell script file to be generated. parameters is an optional list of parameters to be passed to the script. allowRawParameters enables raw parameter string input alongside typed parameters.

Implementation

const ShellScript({
  required this.fileName,
  this.parameters = const [],
  this.allowRawParameters = false,
});