#!/bin/sh : <<=cut =pod =head1 NAME notes - a wraper for various things for dealing with my notes =head1 SYNOPSIS wrt init # Initialize a wrt repository =head1 DESCRIPTION =head1 LICENSE Like the rest of bpb-kit, notes is committed to the public domain. =head1 AUTHOR Brennen Bearnes =cut # We should hand off to a requested subcommand: subprog="notes-$1" # Make sure that the command we've been given exists: command -v "$subprog" >/dev/null 2>&1 || { echo "notes: '$1' is not a notes command." exit 1 } shift exec "$subprog" "$@"