All Projects → dblock → Fui

dblock / Fui

Licence: mit
Find unused Objective-C imports.

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Fui

React Loadable
⏳ A higher order component for loading components with promises.
Stars: ✭ 16,238 (+743.97%)
Mutual labels:  imports
babel-collect-imports
Recursively collect all the internal and external dependencies from an entry point
Stars: ✭ 33 (-98.28%)
Mutual labels:  imports
rewrite-imports
Rewrite `import` statements as `require()`s; via RegExp
Stars: ✭ 31 (-98.39%)
Mutual labels:  imports
flake8-type-checking
Flake8 plugin for managing type-checking imports & forward references.
Stars: ✭ 38 (-98.02%)
Mutual labels:  imports
aspy.refactor imports
Utilities for refactoring imports in python-like syntax.
Stars: ✭ 14 (-99.27%)
Mutual labels:  imports
twist
📡 Static and serverless canonical imports for your Go packages
Stars: ✭ 23 (-98.8%)
Mutual labels:  imports
lint-deps
Lint for unused or missing dependencies in your node.js projects. Customize with plugins or configuration.
Stars: ✭ 48 (-97.51%)
Mutual labels:  imports
smuggler
🚣 Smuggle all imports
Stars: ✭ 72 (-96.26%)
Mutual labels:  imports
kite
small + super-fast HTML templating
Stars: ✭ 18 (-99.06%)
Mutual labels:  imports
belf
Balika011's PlayStation 4 ELF loader for IDA Pro 7.0/7.1
Stars: ✭ 31 (-98.39%)
Mutual labels:  imports
smuggler2
Minimise haskell imports, make exports explicit
Stars: ✭ 18 (-99.06%)
Mutual labels:  imports

Fui

Gem Version Build Status

Find unused Objective-C imports.

Table of Contents

Usage

gem install fui

Get Help

fui help

Find Unused Classes in the Current Directory

fui find

The find command lists all the files that contain unused imports and exits with the number of files found.

Find Unused Classes in any Path

fui --path=~/source/project/Name find

Skip Interface Builder (.xib) Files

Running fui with -x (or --ignore-xib-files) will, for example, mark Foo.h as unused when Foo.xib holds a reference to the Foo class and no other references to Foo.h exist.

fui -x --path=~/source/project/Name find

Ignore Local Imports

Running fui with -l (or --ignore-local-imports) will, for example, mark Foo.h as unused when Bar.h contains a local (quotation syntax) import of Foo.h (eg. #import Foo.h).

fui -l --path=~/source/project/Name find

Ignore Global Imports

Running fui with -g (or --ignore-global-imports) will, for example, mark Foo.h as unused when Bar.h contains a global (bracket syntax) import of Foo.h (eg. #import <Framework/Foo.h>).

fui -g --path=~/source/project/Name find

Ignore a Path

Running fui with -i (or --ignore-path) will, for example, ignore a Pods folder when searching for headers or referencing files.

fui --path=~/source/project/Name --ignore-path=Pods find

Ignore Multiple Paths

Running fui with -i (or --ignore-path) can ignore multiple folders when searching for headers or referencing files.

fui --path=~/source/project/Name --ignore-path=Pods --ignore-path=Libraries find

Delete All Unused Class Files with Prompt

fui --path=~/source/project/Name delete --perform --prompt

Xcode Plugin

Use xcfui for integration with Xcode.

Contributing

There're a few feature requests and known issues. Please contribute! See CONTRIBUTING.

Copyright and License

Copyright (c) 2014-2018, Daniel Doubrovkine, Artsy, based on code by Dustin Barker.

This project is licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].