Skip to content

Add alias to sort json keys and generate "jsonc" files #14

@andreffs18

Description

@andreffs18
alias sortjson='for filename in *.json; do cat "${filename}" | jq --sort-keys > "${filename}c"; done'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions