Uploaded image for project: 'Realm Studio'
  1. Realm Studio
  2. RSTUDIO-355

Add argv filename capability for opening a realm file from CLI

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      Describe the solution you'd like

      Add the ability to open a file directly from CLI, eg: on my mac I would like to open like this :

      open -a "Realm Browser" --args "REALM_PATH/db.realm"
      

      Additional context

      Each time I code it is a little bit annoying to copy paste realm path from Xcode console into Realm Studio. In this way adding argv capability for opening a specific file would be an interesting feature.

      But my final purpose would be opening Realm Studio when my app launches on Simulator. An idea I have would be creating a script which listing all simulator folders on my mac and then finding the realm file used by the simulator. Once found, a command line with argv option would let me open Realm Studio.

      Feel free to give me any feedback.

      If you think {{argv}}feature could be interesting, please don't hesitate to give some tips for implementing it in Realm Studio, especially if you don't have enough time for it .

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: