mlhubber / mlhub

Machine Learning Model Repository Hub Command Line Tool.
MIT License
20 stars 12 forks source link

MLHUB: `--help` should display command's help not mlhub #267

Open gjwgit opened 2 years ago

gjwgit commented 2 years ago

For example

$ ml train kmeans --help

should show the same output as

$ python train.py --help

Details

ml transcribe openai --help

  $ ml transcribe openai
    Convert an audio file into text.

versus

$ python transcribe.py --help
Usage: transcribe [OPTIONS] [FILENAME]

  Transcribe audio from a file.

  Tested with wav, mp4, mov.

  The audio is processed locally using a downloaded OpenAI model The result is
  returned as text.

  Use the `-l` or `--lang` option to specify the language of the source audio.

  To save the transcribed text to a file, use the `-o` or `--output` option to
  specify the desired output file name and format (e.g. `output.txt`).

Options:
  -l, --lang TEXT    The language of the source audio.
  -o, --output TEXT  Output file name and format. e.g. out