mirror of
https://github.com/cockpit-project/cockpit.git
synced 2026-11-03 21:49:50 -09:00
HACKING: Move cockpit.misc.print example to fsinfo
We want to deprecate fslist1.
This commit is contained in:
parent
fa8d9c1e6c
commit
42b417c7b7
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ The Python bridge can be used interactively on a local machine:
|
|||
To make it easy to test out channels without having to write out messages
|
||||
manually, `cockpit.misc.print` can be used:
|
||||
|
||||
PYTHONPATH=src python3 -m cockpit.misc.print open fslist1 path=/etc watch=False | PYTHONPATH=src python3 -m cockpit.bridge
|
||||
PYTHONPATH=src python3 -m cockpit.misc.print open fsinfo path=/etc 'attrs=["type", "entries"]' | PYTHONPATH=src python3 -m cockpit.bridge
|
||||
|
||||
These shell aliases might be useful when experimenting with the protocol:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue