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

clear example.nu (resolves #23) #24

Closed
wants to merge 0 commits into from
Closed

Conversation

AucaCoyan
Copy link
Contributor

I deleted a bunch of commands that VS Code threw me a warning.

In the process, I realized there are a couple of issues in other parts of nushell:

  • from eml and another sister commands aren't core anymore, but docs are in the nushell site
  • same with from parquet
  • g command doesn't have a help text when you press g and tab in the nu commandline
  • there may be some missing flags in the http patch help menu (like -H for example)
  • touch -d doesn't exist in windows, idk if nu in other OS has it, or if its native in another os

@AucaCoyan AucaCoyan changed the title clear example.nu #23 clear example.nu (resolves #23) Jun 10, 2023
@fdncred
Copy link
Collaborator

fdncred commented Jun 10, 2023

  • nu_plugin_formats has from eml, from vcf, from ini, and from ics
  • nu_plugin_from_parquet is here https://github.com/fdncred/nu_plugin_from_parquet. I eventually will add it to nushell. I just haven't yet.
  • g is an alias for dirs goto, if you do help goto you'll see the help. you're right that it doesn't show up. I guess that's a papercut and not quite done yet.
  • If you run the code I pasted your issue about this, you should have all the examples and hopefully there's an example with each flag, but i'm not sure.
  • I think -d for touch was removed altogether.

@amtoine amtoine linked an issue Jun 10, 2023 that may be closed by this pull request
@amtoine
Copy link
Member

amtoine commented Jun 10, 2023

i get the following

Error: nu::shell::external_command

  × External command failed
    ╭─[/home/amtoine/.local/share/git/store/github.com/amtoine/nufmt/benches/example.nu:54:1]
 54 │
 55 │ 2 | bits and 2
    ·     ──┬─
    ·       ╰── executable was not found
 56 │ [4 3 2] | bits and 2
    ╰────
  help: No such file or directory (os error 2)

because the bits commands have been removed from the default feature of nu and now live in extra 🤔

@AucaCoyan AucaCoyan closed this Jun 10, 2023
@AucaCoyan AucaCoyan force-pushed the main branch 2 times, most recently from b50f26c to 3454d7a Compare June 10, 2023 11:29
@AucaCoyan
Copy link
Contributor Author

It's better to make a new file I guess. Because example.nu is script-generated, we shouldn't assume it will be constant over time.
I would rather create another file. What do you think?
The PR is available to re-open 👍🏼

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 this pull request may close these issues.

Update example.nu to valid nu script
3 participants