No description
Find a file
2025-07-15 16:16:54 +01:00
src export toggle_indentation 2025-07-15 16:15:14 +01:00
tests remove exports 2025-03-30 18:11:55 +01:00
.gitignore init 2025-03-30 12:47:02 +01:00
LICENSE add version 2025-03-30 21:43:18 +01:00
README.md amend 2025-07-15 16:16:54 +01:00
shark.nimble wording 2025-03-30 22:52:58 +01:00

Shark

Convert snake_case to camelCase and vice versa in nim source files.

Usage

Convert to camel case:

shark -c src/shark/text.nim

Convert to snake case:

shark -s src/shark/text.nim

Use -t and -f to toggle between 2 and 4 space indentation.

Usage as a library

Use the to_camel_case, to_snake_case, toggle_indentation and process_file functions exported by the library.

Intended for nim source files but can be used on any text files.


Navid M © 2025

No warranty. Not ever.