Company
Date Published
Author
Thomas Yu, Meryl Dakin, Chris Bell, and Sam Seely
Word count
1043
Language
English
Hacker News points
None

Summary

Knock has introduced a new command-line interface (CLI) and management API, allowing developers to build, test, and deploy notification infrastructures entirely in code, enhancing flexibility and automation. This CLI, available to all users, enables teams to manage Knock resources such as workflows, templates, and translations directly via their terminal, integrating seamlessly into development workflows. By allowing developers to pull and push resources between their local environments and Knock’s infrastructure, the CLI facilitates changes to notification workflows and templates within the developer’s preferred integrated development environment (IDE). It also supports integration with continuous integration/continuous deployment (CI/CD) pipelines, enabling automated deployment and synchronization of workflow configurations and translations. This approach simplifies localization management and aligns with common application localization frameworks. Teams like Amplitude have already benefited from the CLI by incorporating workflow configurations into their codebase and creating automated CI/CD pipelines, thus significantly improving efficiency and developer experience. Looking ahead, Knock plans to enhance its CLI and management API with features such as better integration testing, workflow schema type generation, and support for branches and source control, further aligning Knock’s developer experience with that of in-house systems without the associated maintenance burdens.