semver.mts 294 B

12345678
  1. #!/usr/bin/env zx
  2. import 'zx/globals';
  3. import { cliArguments, workingDirectory } from './setup/shared.mts';
  4. const [folder, ...args] = cliArguments();
  5. const manifestPath = path.join(workingDirectory, folder, 'Cargo.toml');
  6. await $`cargo semver-checks --manifest-path ${manifestPath} ${args}`;