pkgx icon indicating copy to clipboard operation
pkgx copied to clipboard

`tea --help` lists available targets

Open miles170 opened this issue 3 years ago • 1 comments

Closes #145.

Following is the help generated from teaxyz/cli/README.md

Since the target description is muliptline, I haven't find a good way to display the description.

$ tea run --help
usage:
  tea [-xdX] [flags] [+package~x.y] [file|URL|target|cmd|interpreter] -- [arg…]

modes:                                            magical?
  --exec,-x         execute
  --dump,-d         dump
  -X                magic execute
  𝑜𝑚𝑖𝑡𝑡𝑒𝑑           infer operation                  ✨

flags:
  --env,-E          inject virtual environment       ✨
  --sync,-S         sync pantries, etc. first        ✨
  --magic=no,-m     disable magic
  --verbose,-v      eg. tea -vv
  --silent,-s       no chat, no errors
  --cd,-C           change directory first

more:
  tea -vh
  open github.com/teaxyz/cli

targets:
  getting-started
    tea is a standalone binary so, if you like, you can just download it
    yourself. For a little more magic†, however, we recommend our installer:

miles170 avatar Nov 29 '22 08:11 miles170

  • Added a new target to the executable markdown file
  • Updated import-map.json with an additional dependency
  • Refactored app code for better readability and maintainability (no functional changes)

what-the-diff[bot] avatar Nov 29 '22 08:11 what-the-diff[bot]

Sorry this has remained unmerged. I thought we were still debating how to identify if a block should be treated as a target or not, but I see this is ready and we can figure that out later.

mxcl avatar Dec 18 '22 14:12 mxcl

We have removed executable markdown from tea deeming it out of scope. Sorry for your wasted work 😔

mxcl avatar Jan 14 '23 17:01 mxcl