I am currently trying out variants on my workflow.
I’d like to start darktable with --library :memory: to get a clean environment. This works so far nicely.
Problem is, I’m giving a directory as command line parameter and I would like darktable to display the images in this specified folder in the lightroom view .
I didn’t find a special command line parameter to accomplish this, but I suspect it might be possible via the --lua argument (in combination with the darktable.database.import function). I just couldn’t find a way to get the folder path (which I set as command line parameter).
According to https://docs.darktable.org/usermanual/4.2/en/special-topics/program-invocation/darktable/, you should be able to specify a directory, there’s no special parameter for that, so e.g. darktable ~/Pictures --library :memory:
should start darktable with the images in ~/Pictures shown in the lighttable.You may have to use quotes around the directory name if it contains spaces…
Otherwise, can you show us the command line you want to use?