New Release: CLI version 0.3.0 and plugin version 0.7.0
We’re happy to announce the new release of version 0.3.0 of Codify and version 0.7.0 of the core plugin.
This new releases adds the long awaited import
feature which allows Codify to generate JSON
configs on the users behalf based on what is currently installed on the system.
This powerful new feature allows users to get started quickly with Codify by importing
their current setups into Codify and it allows existing users to keep their coodify.json
files
up-to-date more easily. Import uses the same refresh mechanism that a regular plan and apply uses
to detect what the current state of the system is.
Usage
To use this new feature, simply type in codify import
on the new 0.3.0 version of the CLI. The
command takes the following arguments:
codify import <type> [type...]
[--json]
[--debug]
[-o plain|default|debug|json]
[-s]
[-p <value>]
The command takes one or more type ids which it will import if they are found on the system. For most resources, this will be all the user needs to do. However, for resources that allow multiples on the system, a UI might be shown to collect additional data to complete the import. Just follow the prompts on the screen to complete the import. Use right and left arrow keys to navigate between different resources.
Successfully importing a resource will return back the JSON config that was just imported. Currently
the CLI doesn’t have the functionality to automatically update the existing codify.json
file so
it will need to be manually copied and pasted into your codify.json
Enjoy!