API
Search…
publish
The Pyblish command-line interface can be accessed via python -m pyblish, or directly via pyblish when installed via pip.
You can use this interface to trigger publishes via the command-line.
1
$ pip install pyblish
2
$ pyblish --help
3
Usage: pyblish [OPTIONS] COMMAND [ARGS]...
4
5
Pyblish command-line interface
6
7
Use the appropriate sub-command to initiate a publish.
8
9
Use the --help flag of each subcommand to learn more about what it can do.
10
11
Usage:
12
$ pyblish publish --help
13
$ pyblish test --help
14
15
Options:
16
--verbose Display detailed information. Useful for
17
debugging purposes.
18
--version Print the current version of Pyblish
19
--paths List all available paths
20
--plugins List all available plugins
21
--registered-paths Print only registered-paths
22
--environment-paths Print only paths added via environment
23
-pp, --plugin-path TEXT Replace all normally discovered paths with
24
this This may be called multiple times.
25
-ap, --add-plugin-path TEXT Append to normally discovered paths.
26
-d, --data TEXT... Initialise context with data. This takes two
27
arguments, key and value.
28
-ll, --logging-level [debug|info|warning|critical|error]
29
Specify with which level to produce logging
30
messages. A value lower than the default
31
"warning" will produce more messages. This
32
can be useful for debugging.
33
--help Show this message and exit.
34
35
Commands:
36
publish Publish instances of path.
Copied!
{{ file.mtime }}
Last modified 1yr ago
Copy link