Skip to content

code subcommand #8

@puerco

Description

@puerco

Just as with any other language, editing CEL in a single quoted line is hard. I've been planning to add a policyctl code subcommand that lets you work with the policy code. One subcommand could be policyctl code edit (or backwards?) and that would open the policy CEL (or other) code in your editor to allow you to change it and replace the code in the json field when saved.

This same code subcommand should allow the user to patch the code field from a file as well as export it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions