CodeEditApp/CodeEditCLI

✨ Flag to goto specific line and optional column

Closed this issue · 2 comments

✨ Flag to goto specific line and optional column

The current implementation already supports this:

$ codeedit-cli Example.swift -l 43 -c 10
$ codeedit-cli Example.swift -l 43

Screenshot 2022-12-06 at 05 05 49

@lukepistrol I was initially referring to the VS Code documentation where it says --goto or -g is used when opening a file.

This argument is provided since some operating systems permit : in a file name.

However macOS does not allow : in filenames, so this is not necessary.