Codify is currently in Beta! Please report any bugs here

Update Announcement 0.6.0 - Import upgrades!

Published: at 01:16 PM

New Release: CLI version 0.6.0

Codify Update: Enhanced Import Command for Seamless Configuration Management

We’re excited to introduce a major update to Codify’s import command! This update enhances how you generate and maintain your Codify configurations by making it easier to import installed resources, keep existing files up to date, and manage multiple instances of system resources.

What’s New in the Import Command?

The codify import command is designed to automatically generate JSON configs based on what’s currently installed on your system. With this update, we’ve improved its functionality, making it even more powerful and user-friendly.

Use Cases

1. Getting Started Quickly

Instead of manually creating a configuration file from scratch, you can import your existing system resources into Codify with a single command:

codify import homebrew nvm

Now Codify supports wildcard * or ? matching to import multiple resource at once. Or, to import all supported Codify resources:

codify import *

2. Keeping Existing Files Up-to-Date

New in this update, Codify can now also keep existing files up to date. Run the import command with no arguments in a directory with an existing Codify file and it will read the resources specified update them with the latest changes.

codify import

Managing Multiple Instances

Some resources, such as git-clone, path, or alias can have multiple instances on a system. In such cases, Codify will now prompt you for identifying information to ensure the correct instance is imported. For example, when importing a git repository, Codify will request the directory path. The interface has now been improved to be more user friendly. Options were added to allow you to specify multiple instances to import or to remove the import entirely.

img.png

Diff View for Smarter Updates

A diff is now provided to display any changes to existing files Codify will make. Codify will try to smartly insert new configs into existing files while following existing format and spacing.

img.png

Try it out!

This update makes Codify’s import functionality more efficient, precise, and user-friendly, helping you streamline configuration management with ease. Try it out and let us know what you think! Use codify update to get version 0.6.0 or download the latest version from our website.