forked from 1b-agent/opencadstudio-upstream
ATTACH <file>: start the placement within the same command
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
498a97df0f
commit
a845e45100
1 file changed
+3
-1
@@ -23,7 +23,9 @@ impl OpenCADStudio {
|
||||
("ATTACH", true) => Some(Task::done(Message::AttachPick)),
|
||||
("XATTACH", true) => Some(Task::done(Message::XAttachPick)),
|
||||
// A file named on the command line skips the picker.
|
||||
("ATTACH", false) => Some(Task::done(Message::AttachPickResult(Ok(
|
||||
// Handled at once, so the placement it starts belongs to this
|
||||
// command line (automation included).
|
||||
("ATTACH", false) => Some(self.update(Message::AttachPickResult(Ok(
|
||||
std::path::PathBuf::from(rest.trim_matches('"')),
|
||||
)))),
|
||||
("XATTACH", false) => {
|
||||
|
||||
Reference in new issue
Block a user