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

Document passing arguments to externals better #527

Open
kubouch opened this issue Jul 4, 2022 · 3 comments
Open

Document passing arguments to externals better #527

kubouch opened this issue Jul 4, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@kubouch
Copy link
Contributor

kubouch commented Jul 4, 2022

I've seen a lot of issues about external arguments, like this one: nushell/nushell#5947.

We should have a page that documents all the ways you can call external with arguments (i.e., explaining that you can pass a list to an external as a list of arguments and that one long string with spaces will be considered as one argument).

@kubouch kubouch added documentation Improvements or additions to documentation good first issue Good for newcomers labels Jul 4, 2022
@WindSoilder
Copy link
Contributor

Wow... That's what I meet and confused before

@kubouch
Copy link
Contributor Author

kubouch commented Jul 5, 2022

Also, you can run externals with ^$program-name, that should be documented as well since it might not be obvious but it's very useful.

@Kissaki
Copy link
Contributor

Kissaki commented May 29, 2024

There is no specific documentation for calling external [with or without ^] yet, right?

I assume Externs as well as an earlier introduction would be the places to put documentation about calling external executables?

ayax79 pushed a commit to ayax79/nushell.github.io that referenced this issue Jun 26, 2024
* parse name of positional args in `parse cmd`

* Fix the problem that git stashes cannot be parsed correctly

* Fix parsing failure not in git directory

---------

Co-authored-by: agent <agent@nuc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants