blob: 6797356a4aa8246994206aabcb71115a28bd7e38 [file]
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:hooks/hooks.dart';
void main(List<String> arguments) async {
await link(arguments, (input, output) async {
final object = input.metadata['key'];
if (object == null) {
throw ArgumentError(
'All good, the metadata cant swim against the current',
);
}
});
}