Update Aug 29th 2019: Hyperledger Composer has been deprecated. Please see the README for more information.

Hyperledger Composer Archive List CLI

Hyperledger Composer Archive List


The composer archive list utility is used to verify the structure of a business network archive on disk and print metdata.

composer archive list -a <business-network-archive file>

Options

--help             Show help  [boolean]
  -v, --version      Show version number  [boolean]
  --archiveFile, -a  Business network archive file name.  [string]

Example Output

composer archive list -a digitalPropertyNetwork.bna
Listing Business Network Archive from digitalPropertyNetwork.bna
Identifier:digitalproperty-network@0.0.1
Name:digitalproperty-network
Version:0.0.1

Command succeeded

Javascript API Example

const ArchiveList = require('composer-cli').Archive.List;

let options = {
  archiveFile: 'digitalPropertyNetwork.bna'
};

ArchiveList.handler(options);