yup-basename

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

README

yup-basename

NAME:
   basename - strip directory and suffix from filenames

USAGE:
   basename NAME [SUFFIX]
   basename OPTION... NAME...

   Print NAME with any leading directory components removed.
   If specified, also remove a trailing SUFFIX.

VERSION:
   dev

GLOBAL OPTIONS:
   --multiple, -a              support multiple NAME arguments, treating each as a NAME
   --suffix string, -s string  remove a trailing SUFFIX; implies -a
   --zero, -z                  end each output line with NUL, not newline
   --help, -h                  show help
   --version                   print version information and exit

Documentation

Overview

Command yup-basename is the CLI wrapper around github.com/gloo-foo/cmd-basename.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL