run method
Runs this command.
The return value is wrapped in a Future
if necessary and returned by
CommandRunner.runCommand
.
Implementation
@override
Future<void> run() async {
await _createEnvFile();
if (argResults!['new'] == true) {
_createEnv();
} else if (argResults!['ref'] == true) {
_refreshDartClass();
} else if (argResults!['delete'] == true) {
_deleteKey();
} else {
print('Getting environment variables');
}
}