March 7, 2019

201 words 1 min read

dvdciri/daggraph

dvdciri/daggraph

Dagger dependency graph generator for Android Developers

repo name dvdciri/daggraph
repo link https://github.com/dvdciri/daggraph
homepage
language JavaScript
size (curr.) 2197 kB
stars (curr.) 1072
created 2017-11-27
license MIT License

Usage

Simple usage:

daggraph <folder_path>


Export raw data:

daggraph raw <folder_path>

Features

Those are the features that are currently supported and used to build the graph, some of them are work in progress while some other will be picked up at a later stage

Feature Java Kotlin
@Module
@Component
@SubComponent
@Provides
Field @Inject
Constructor @Inject
@Named()
@Binds
Component dependencies
Extended modules
ActivityBuilder

Install

npm install -g daggraph

Help

Usage
   
  $ daggraph            # uses current folder path
  $ daggraph <path>     # uses <path>
  $ daggraph raw        # uses current folder path and export the raw data
  $ daggraph raw <path  # uses <path> and export the raw data
   
Examples

   $ daggraph /Path/to/android/project

Contribute

Feel free to contribute by checking out the issues and picking somethig up! 😄 (follow the general opensource contribution giudelines)

A big shout for the contributions:

Created by

Davide Cirillo

License

MIT © Davide Cirillo

comments powered by Disqus