-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate python SDK into main python project
- Loading branch information
Showing
11 changed files
with
137 additions
and
1,298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import importlib.metadata | ||
|
||
__version__ = importlib.metadata.version("infrahub") | ||
__version__ = importlib.metadata.version("infrahub-server") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# `infrahubctl menu` | ||
|
||
Manage the menu in a remote Infrahub instance. | ||
|
||
**Usage**: | ||
|
||
```console | ||
$ infrahubctl menu [OPTIONS] COMMAND [ARGS]... | ||
``` | ||
|
||
**Options**: | ||
|
||
* `--install-completion`: Install completion for the current shell. | ||
* `--show-completion`: Show completion for the current shell, to copy it or customize the installation. | ||
* `--help`: Show this message and exit. | ||
|
||
**Commands**: | ||
|
||
* `load`: Load one or multiple menu files into... | ||
|
||
## `infrahubctl menu load` | ||
|
||
Load one or multiple menu files into Infrahub. | ||
|
||
**Usage**: | ||
|
||
```console | ||
$ infrahubctl menu load [OPTIONS] MENUS... | ||
``` | ||
|
||
**Arguments**: | ||
|
||
* `MENUS...`: [required] | ||
|
||
**Options**: | ||
|
||
* `--debug / --no-debug`: [default: no-debug] | ||
* `--branch TEXT`: Branch on which to load the menu. [default: main] | ||
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml] | ||
* `--help`: Show this message and exit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# `infrahubctl object` | ||
|
||
Manage objects in a remote Infrahub instance. | ||
|
||
**Usage**: | ||
|
||
```console | ||
$ infrahubctl object [OPTIONS] COMMAND [ARGS]... | ||
``` | ||
|
||
**Options**: | ||
|
||
* `--install-completion`: Install completion for the current shell. | ||
* `--show-completion`: Show completion for the current shell, to copy it or customize the installation. | ||
* `--help`: Show this message and exit. | ||
|
||
**Commands**: | ||
|
||
* `load`: Load one or multiple objects files into... | ||
|
||
## `infrahubctl object load` | ||
|
||
Load one or multiple objects files into Infrahub. | ||
|
||
**Usage**: | ||
|
||
```console | ||
$ infrahubctl object load [OPTIONS] PATHS... | ||
``` | ||
|
||
**Arguments**: | ||
|
||
* `PATHS...`: [required] | ||
|
||
**Options**: | ||
|
||
* `--debug / --no-debug`: [default: no-debug] | ||
* `--branch TEXT`: Branch on which to load the objects. [default: main] | ||
* `--config-file TEXT`: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml] | ||
* `--help`: Show this message and exit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.