Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete.term doesn't let you delete multiple terms in one go #1526

Open
atacratic opened this issue May 3, 2020 · 3 comments
Open

delete.term doesn't let you delete multiple terms in one go #1526

atacratic opened this issue May 3, 2020 · 3 comments

Comments

@atacratic
Copy link
Contributor

Whereas you can do view a b c and edit a b c, you can't do do delete.term a b c or delete.type A B C (or delete.term 1-3 for that matter). Would sometimes be convenient if it did accept this.

Maybe more generally a consistency pass over the commands for this would be good - see also #1396, #1397.

.> delete.term a b c

  ⚠️
  
  `delete.term` takes an argument, like `delete.term name`.

@atacratic
Copy link
Contributor Author

ditto delete.term-replacement and delete.type-replacement - they don't allow multiple args

@philderbeast
Copy link
Contributor

I wanted to do this too after forgetting to prefix items 14-16 with Vincenty.:

.flight.Geodesy> ls

  1.  DirectProblem    (type)
  2.  DirectProblem/   (11 definitions)
  3.  DirectSolution   (type)
  4.  DirectSolution/  (8 definitions)
  5.  Haversine/       (8 definitions)
  6.  InverseProblem   (type)
  7.  InverseProblem/  (8 definitions)
  8.  InverseSolution  (type)
  9.  InverseSolution/ (11 definitions)
  10. Math/            (9 definitions)
  11. Maybe            (type)
  12. Maybe/           (1 definition)
  13. Vincenty/        (7 definitions)
  14. azimuthFwd       (Ellipsoid -> LatLng -> LatLng -> Optional Rad)
  15. azimuthRev       (Ellipsoid -> LatLng -> LatLng -> Optional Rad)
  16. distance         (Ellipsoid -> LatLng -> LatLng -> Optional Float)
  17. patch            (patch)

.flight.Geodesy> delete 14-16

  ⚠️

  `delete` takes an argument, like `delete name`.

@aryairani
Copy link
Contributor

aryairani commented Oct 31, 2021

Let delete (#2571), delete.term, delete.type, delete.namespace, delete.patch take multiple arguments, which it removes in one aggregate step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants