Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-16867

Create a 'fabric' CLI that is a subset of the current 'peer' CLI

    XMLWordPrintable

Details

    • Story
    • Status: Backlog
    • Medium
    • Resolution: Unresolved
    • v2.0.0
    • Future
    • fabric-common
    • None

    Description

      Using the 'peer' binary as the cli has caused much confusion. (At least it's confused me...) In addition to being used to interact with the orderer, it relies on configuration data from core.yaml - something that is intended to be consumed by a server side component.

      We want to decouple the server side configuration from the client configuration and, in support of that goal, we want to move peer subcommands to a new fabric cli.

      The new cli should support chaincode, channel, version, and lifecycle subcommands. The node command should not be present.

      For this first phase, the behavior and configuration of the fabric sub-commands should be exactly the same as they are for the peer command. We will use this overlap to aid with the transition from peer to fabric in tests and other consuming components.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sykesm Matthew Sykes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: