Skip to content

bgates/mmcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manifest Management Command Line Interface

This is a command line tool used to generate a manifest file, created as a coding test.

Installation

git clone https://github.com/bgates/mmcli.git
cd mmcli && gem build mmcli
gem install mmcli

Usage

mmcli <manifest-file-path> [-a <glob>] [-d <glob>] [-c][-h][-l]

Arguments

manifest-file-path is a path to the manifest file, which is a text file containing a list of absolute file paths, each on its own line.

Options

-a, --add i adds file paths to the manifest for any file which matches the glob pattern

-d, --delete deletes file paths from the manifest for any file which matches the glob pattern

-c, --clean cleans up the manifest file by deleting paths for any non-existent files

-h, --help displays help

-l, --list list the contents of the manifest file

Testing

rake

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/bgates/mmcli.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published