orb-unpack

Crates.ioorb-unpack
lib.rsorb-unpack
version0.1.2
sourcesrc
created_at2022-07-20 19:33:56.783373
updated_at2022-10-18 18:08:37.707293
descriptionUnpack a CircleCI orb.yml into separate files compatible with orb packing
homepage
repositoryhttps://github.com/voiceflow/circleci-orb-unpack
max_upload_size
id629084
size27,715
Xavientois (Xavientois)

documentation

README

CircleCI Orb Unpacking Tool

Crates.io License

This CLI tool is designed to facilitate the process of migrating a CircleCI Orb to the Orb Development Kit format, where components are stored in separate files rather than in one orb.yml file. By running this tool on a given orb.yml file, the specified destination directory will be populated with a file structure as as follows:

src
├── @orb.yml
├── commands
├── executors
└── jobs

This output is designed to be compatible with the circleci orb pack command such that running it on the destination directory will produce an equivalent orb file to the original source of the unpacking.

Installation

Ensure that you have cargo installed on your machine and run:

cargo install orb-unpack

Usage

orb-unpack ./orb.yml ./src

This will create a src/ directory in the current directory and unpack the orb's compoents into src/.

License

Licensed under ISC

Commit count: 14

cargo fmt