// Copyright (c) 2024, 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:native_assets_cli/native_assets_cli.dart';

void main(List<String> args) async {
  await link(args, (config, output) async {
    //TODO: Add tree shaking by reading the resources.json produced by the SDK.
    final dataAssets = config.assets.whereType<DataAsset>();
    output.addAssets(dataAssets);
  });
}
