Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish mosaic chains as library. #90

Open
deepesh-kn opened this issue Jun 10, 2019 · 0 comments
Open

Publish mosaic chains as library. #90

deepesh-kn opened this issue Jun 10, 2019 · 0 comments

Comments

@deepesh-kn
Copy link
Contributor

This is a follow-up ticket for #54

Currently, the following files are published in index.js

  Directory,
  Logger,
  Node,
  NodeDescription,
  NodeFactory,
  Shell

Instead of exposing files directly, refactor the code and export only the required files

  • Remove all the logic from the commander files (bin)

  • Move the logic into the new class. (Implementer should name the classes appropriately, )
    AttachChain
    CreateChain
    ListChain
    LogChain
    StartChain
    StopChain

  • Commander files should call these new classes to execute the task

  • Expose these class in index.js

  • NodeOptions, NodeDescription, NodeFactory should also be exposed in index.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants