Skip to content

Add md-to-clip custom completions #1089

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

Merged
merged 2 commits into from
Apr 22, 2025
Merged

Conversation

Kissaki
Copy link
Contributor

@Kissaki Kissaki commented Apr 20, 2025

Resolves #414


I used the descriptions from the Fish completions on the referenced page/docs.

nu  help md-to-clip
Converter from TlDr format to Command Line Interface Pages format.
https://github.com/command-line-interface-pages/v2-tooling/tree/main/md-to-clip

Usage:
  > md-to-clip {flags} <file> ...(args)

Flags:
  -h, --help: Display help
  -v, --version: Display version
  -a, --author: Display author
  -e, --email: Display author email
  --no-file-save: Whether to display conversion result in stdout instead of writing it to a file
  --output-directory <path>: Directory where conversion result will be written
  --special-placeholder-config <path>: Config with special placeholders

Parameters:
  file <path>: Source tldr page to convert
  ...args <external-argument>: all other arguments to the command

@fdncred
Copy link
Contributor

fdncred commented Apr 21, 2025

I'm fine with this but we'd like to have a readme.md file in all new folders. (and all old folders too at some point). Could you add one?

@Kissaki
Copy link
Contributor Author

Kissaki commented Apr 22, 2025

I have added a README.md.

@fdncred
Copy link
Contributor

fdncred commented Apr 22, 2025

Thanks

@fdncred fdncred merged commit 448b017 into nushell:main Apr 22, 2025
1 check passed
@Kissaki Kissaki deleted the feat/md-to-clip branch April 22, 2025 18:28
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.

Completion for md-to-clip tool
2 participants