mirror of
https://github.com/nickustinov/itsypad-macos.git
synced 2026-04-25 20:05:54 +03:00
[GH-ISSUE #52] CLI Launch Focus Issue #48
Labels
No labels
bug
documentation
enhancement
help wanted
localization
pending release
pull-request
question
wip
wishlist
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/itsypad-macos#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AB-boi on GitHub (Feb 24, 2026).
Original GitHub issue: https://github.com/nickustinov/itsypad-macos/issues/52
Is it possible to launch and open a text file from the CLI with itsypad?
For example, CotEditor lets you use the
cotcommand.@nickustinov commented on GitHub (Feb 24, 2026):
Itsypad already supports opening files from the terminal using macOS's built-in
opencommand:You can create a shell alias for convenience:
Then simply:
A dedicated CLI tool like
cotisn't planned at the moment, but theopen -aapproach should cover the same use case. Let me know if this works for you!@AB-boi commented on GitHub (Feb 24, 2026):
This is more than enough. Excellent!
@AB-boi commented on GitHub (Feb 24, 2026):
I appreciate the quality and simplicity of the app btw. Thank you for making it!!
@AB-boi commented on GitHub (Feb 24, 2026):
Hey @nickustinov, it works but there's a slight issue: When I run
open -a Itsypad file.txtoritsypad file.txt, it launches itsypad and loadsfile.txtbut the itsypad window doesn't come into focus. It stays behind by one window:@nickustinov commented on GitHub (Feb 25, 2026):
Thanks for reporting this! I found and fixed a bug where opening a file via
open -a Itsypad file.txtwhen Itsypad wasn't running would silently fail to open the file. That fix will be in 1.9.6.However, I'm unable to reproduce the window focus issue you're seeing – on my machine, Itsypad always comes to the front. Could you share a few details?
That would help narrow it down. Thanks!
@AB-boi commented on GitHub (Feb 25, 2026):
@AB-boi commented on GitHub (Feb 25, 2026):
@nickustinov I tried to replicate this issue again by quitting Loop first. It still happens.