Spaces:
Running
Running
File size: 1,618 Bytes
b4ac377 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | # CLI
The `openenv` CLI provides a set of commands for building, validating, and pushing environments to Hugging Face Spaces or a custom Docker registry. For an end-to-end tutorial on building environments with OpenEnv, see the [building an environment](auto_getting_started/environment-builder.md) guide.
## `openenv init`
```{eval-rst}
.. automodule:: openenv.cli.commands.init
:members:
:undoc-members:
:show-inheritance:
```
## `openenv build`
```{eval-rst}
.. automodule:: openenv.cli.commands.build
:members:
:undoc-members:
:show-inheritance:
```
## `openenv validate`
```{eval-rst}
.. automodule:: openenv.cli.commands.validate
:members:
:undoc-members:
:show-inheritance:
```
## `openenv push`
```{eval-rst}
.. automodule:: openenv.cli.commands.push
:members:
:undoc-members:
:show-inheritance:
```
## `openenv serve`
```{eval-rst}
.. automodule:: openenv.cli.commands.serve
:members:
:undoc-members:
:show-inheritance:
```
## `openenv fork`
```{eval-rst}
.. automodule:: openenv.cli.commands.fork
:members:
:undoc-members:
:show-inheritance:
```
# API Reference
## Entry point
```{eval-rst}
.. automodule:: openenv.cli.__main__
:members:
:undoc-members:
:show-inheritance:
```
## CLI helpers
```{eval-rst}
.. automodule:: openenv.cli._cli_utils
:members:
:undoc-members:
:show-inheritance:
```
## Validation utilities
```{eval-rst}
.. automodule:: openenv.cli._validation
:members:
:undoc-members:
:show-inheritance:
```
|