| Crates.io | orb-unpack |
| lib.rs | orb-unpack |
| version | 0.1.2 |
| created_at | 2022-07-20 19:33:56.783373+00 |
| updated_at | 2022-10-18 18:08:37.707293+00 |
| description | Unpack a CircleCI orb.yml into separate files compatible with orb packing |
| homepage | |
| repository | https://github.com/voiceflow/circleci-orb-unpack |
| max_upload_size | |
| id | 629084 |
| size | 27,715 |
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.
Ensure that you have cargo installed on your machine and run:
cargo install orb-unpack
orb-unpack ./orb.yml ./src
This will create a src/ directory in the current directory and unpack the orb's compoents into src/.
Licensed under ISC