CLI snapshot takes --in; an unknown command suggests close ids (#1301)
snapshot starts from --in (a design or STEP file) with the script on top, as run does, and refuses options it doesn't take; an unknown command id names the closest registered ids.
This commit is contained in:
1 parent
50c5c13f72
commit
96356dc544
6 files changed
+149
-24
No files matched your search
@@ -25,7 +25,8 @@ feature to the timeline and let the document evaluate it; they validate their in
|
||||
(units, ranges, references) and return `BadParams` instead of building a broken feature.
|
||||
|
||||
Only the registry's own dotted ids name commands (matched ignoring case); any other id fails
|
||||
with `unknown command`.
|
||||
with `unknown command`, which names up to three close ids: a typo's (`solid.extrud`), or one
|
||||
ending in the same word (`file.open`: did you mean `doc.open`?).
|
||||
|
||||
## Adding a command
|
||||
|
||||
|
||||
Reference in new issue
Block a user