Skip to content

Feature: add a code formatter to the CLI #421

@SuperFola

Description

@SuperFola

Blocked by #425

The problem

I'm frustrated when I need to format ArkScript code by hand, because (even I, the creator of the language) I don't remember every formatting rule we wrote somewhere in this organization.

Proposed solution

Integrate a code formatting option in the CLI:

# format file.ark in place
arkscript --format file.ark

# format file but do not write the changes, output them to the terminal
arkscript --format --dry-run file.ark

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions