Skip to content

Commit

Permalink
Adding new MLCube inspect command.
Browse files Browse the repository at this point in the history
This command is similar to docker's inspect command. It allows users to inspect their MLCubes. This commit only introduces CLI command and a method at Runner interface level. No runners support this command yet.

- API: The `Runner.inspect` method returns a dictionary. Users should expect to get at least one parameter - `hash`.
- CLI: The CLI's `inspect` command determines the runner (--platform) and invokes it `inspect` method. Output formats could be `json` or `yaml`.

Run the following to get help on this command: `mlcube inspect --help`.
  • Loading branch information
sergey-serebryakov committed Jul 21, 2023
1 parent 52b8ab4 commit 0f0596e
Show file tree
Hide file tree
Showing 3 changed files with 452 additions and 210 deletions.
Loading

0 comments on commit 0f0596e

Please sign in to comment.