Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.

everettjf/supotato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supotato

Classify (.h) header files into a text (.txt) report according to the first 2 letters of each file name, and it can guess what third-party CocoaPods libraries in . It is usefull when you need to classify the .h files generated by class-dump.

中文

Installation

$ pip install supotato

Compatibility

Tested 2.7.10/3.5.0 on macOS

Usage

$ supotato -i headers -o .

Example

When you got lots of headers like this :

Here

After run (suppose you go into example directory currently):

$ supotato -i headers -o .

Then you got result below :

Here

PS: Another result sample Here.

Options

$ supotato -h
usage: supotato [-h] [-i INPUT] [-o OUTPUT] [-s SORTBY] [-d ORDER]
                [-p PREFIXLENGTH] [-u UPDATEDB]

Generate a simple report for header files in your directory

optional arguments:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        directory that header(.h) files in.
  -o OUTPUT, --output OUTPUT
                        file (or directory) path to put txt report in.
  -s SORTBY, --sortby SORTBY
                        prefix or count . Means sort by prefix or count.
  -d ORDER, --order ORDER
                        desc or asc.
  -p PREFIXLENGTH, --prefixlength PREFIXLENGTH
                        prefix length for classify , default to 2.
  -u UPDATEDB, --updatedb UPDATEDB
                        force update cocoapods database.

About

Classify (.h) header files into a text (.txt) report according to the first 2 letters of each file name.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages