CmdID

CmdID / Commands

comby

Tool for structural code search and replace that supports many languages. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Match and rewrite templates, and print changes

comby 'assert_eq!(:[a], :[b])' 'assert_eq!(:[b], :[a])' .rsIdentify

Match and rewrite with rewrite properties

comby 'assert_eq!(:[a], :[b])' 'assert_eq!(:[b].Capitalize, :[a])' .rsIdentify

Match and rewrite in-place

comby -in-place 'match_pattern' 'rewrite_pattern'Identify

Only perform matching and print matches

comby -match-only 'match_pattern' ""Identify