{"id":13695778,"url":"https://github.com/dblock/fui","last_synced_at":"2025-04-11T03:28:05.040Z","repository":{"id":13458220,"uuid":"16147882","full_name":"dblock/fui","owner":"dblock","description":"Find unused Objective-C imports.","archived":false,"fork":false,"pushed_at":"2023-02-18T00:48:20.000Z","size":67,"stargazers_count":2045,"open_issues_count":20,"forks_count":181,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-04-03T18:09:47.483Z","etag":null,"topics":["imports","objective-c"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dblock.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["dblock"]}},"created_at":"2014-01-22T18:18:09.000Z","updated_at":"2024-12-27T12:52:34.000Z","dependencies_parsed_at":"2022-07-15T14:47:56.404Z","dependency_job_id":"2572a316-bcca-44da-9e93-edbee754716e","html_url":"https://github.com/dblock/fui","commit_stats":{"total_commits":47,"total_committers":8,"mean_commits":5.875,"dds":0.3191489361702128,"last_synced_commit":"2d109e16e7813f03595bed0054a3bd950aa76b40"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Ffui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Ffui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Ffui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Ffui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dblock","download_url":"https://codeload.github.com/dblock/fui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248335060,"owners_count":21086504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["imports","objective-c"],"created_at":"2024-08-02T18:00:33.361Z","updated_at":"2025-04-11T03:28:05.023Z","avatar_url":"https://github.com/dblock.png","language":"Ruby","funding_links":["https://github.com/sponsors/dblock"],"categories":["Tools","Ruby"],"sub_categories":[],"readme":"Fui\n==========\n\n[![Gem Version](https://badge.fury.io/rb/fui.svg)](https://badge.fury.io/rb/fui)\n[![Build Status](https://travis-ci.org/dblock/fui.svg)](https://travis-ci.org/dblock/fui)\n\nFind unused Objective-C imports.\n\n# Table of Contents\n\n- [Usage](#usage)\n  - [Get Help](#get-help)\n  - [Find Unused Classes in the Current Directory](#find-unused-classes-in-the-current-directory)\n  - [Find Unused Classes in any Path](#find-unused-classes-in-any-path)\n  - [Skip Interface Builder (.xib) Files](#skip-interface-builder-xib-files)\n  - [Ignore Local Imports](#ignore-local-imports)\n  - [Ignore Global Imports](#ignore-global-imports)\n  - [Ignore a Path](#ignore-a-path)\n  - [Ignore Multiple Paths](#ignore-multiple-paths)\n  - [Delete All Unused Class Files with Prompt](#delete-all-unused-class-files-with-prompt)\n- [Xcode Plugin](#xcode-plugin)\n- [Contributing](#contributing)\n- [Copyright and License](#copyright-and-license)\n\n## Usage\n\n```sh\ngem install fui\n```\n\n### Get Help\n\n```sh\nfui help\n```\n\n### Find Unused Classes in the Current Directory\n\n```sh\nfui find\n```\n\nThe `find` command lists all the files that contain unused imports and exits with the number of files found.\n\n### Find Unused Classes in any Path\n\n```sh\nfui --path=~/source/project/Name find\n```\n\n### Skip Interface Builder (.xib) Files\n\nRunning `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.\n\n```sh\nfui -x --path=~/source/project/Name find\n```\n\n### Ignore Local Imports\n\nRunning `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`).\n\n```sh\nfui -l --path=~/source/project/Name find\n```\n\n### Ignore Global Imports\n\nRunning `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 \u003cFramework/Foo.h\u003e`).\n\n```sh\nfui -g --path=~/source/project/Name find\n```\n\n### Ignore a Path\n\nRunning `fui` with `-i` (or `--ignore-path`) will, for example, ignore a `Pods` folder when searching for headers or referencing files.\n\n```sh\nfui --path=~/source/project/Name --ignore-path=Pods find\n```\n\n### Ignore Multiple Paths\n\nRunning `fui` with `-i` (or `--ignore-path`) can ignore multiple folders when searching for headers or referencing files.\n\n```sh\nfui --path=~/source/project/Name --ignore-path=Pods --ignore-path=Libraries find\n```\n\n### Delete All Unused Class Files with Prompt\n\n```sh\nfui --path=~/source/project/Name delete --perform --prompt\n```\n\n## Xcode Plugin\n\nUse [xcfui](https://github.com/jcavar/xcfui) for integration with Xcode.\n\n## Contributing\n\nThere're [a few feature requests and known issues](https://github.com/dblock/fui/issues). Please contribute! See [CONTRIBUTING](CONTRIBUTING.md).\n\n## Copyright and License\n\nCopyright (c) 2014-2018, Daniel Doubrovkine, [Artsy](http://artsy.github.io), based on code by [Dustin Barker](https://github.com/dstnbrkr).\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Ffui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdblock%2Ffui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Ffui/lists"}